feat: disable custom background button

This commit is contained in:
hamster1963
2025-01-17 18:07:39 +08:00
parent b1c5b6e0a8
commit 38be1e9a10
18 changed files with 99 additions and 99 deletions
+1 -3
View File
@@ -17,9 +17,7 @@ interface ServiceTrackerProps {
export const ServiceTrackerClient: React.FC<ServiceTrackerProps> = ({ days, className, title, uptime = 100, avgDelay = 0 }) => {
const { t } = useTranslation()
const customBackgroundImage =
// @ts-expect-error CustomBackgroundImage is a global variable
(window.CustomBackgroundImage as string) !== "" ? window.CustomBackgroundImage : undefined
const customBackgroundImage = (window.CustomBackgroundImage as string) !== "" ? window.CustomBackgroundImage : undefined
return (
<div
className={cn(