fix: remove header disable bg button on mobile

This commit is contained in:
hamster1963
2025-01-21 09:14:47 +08:00
parent 561513e6e1
commit a9e27e4ac9
3 changed files with 5 additions and 3 deletions
+1 -3
View File
@@ -62,9 +62,7 @@ const App: React.FC = () => {
i18n.changeLanguage(settingData?.data?.config?.language)
}
const customMobileBackgroundImage =
// @ts-expect-error CustomMobileBackgroundImage is a global variable
(window.CustomMobileBackgroundImage as string) !== "" ? window.CustomMobileBackgroundImage : undefined
const customMobileBackgroundImage = window.CustomMobileBackgroundImage !== "" ? window.CustomMobileBackgroundImage : undefined
return (
<Router basename={import.meta.env.BASE_URL}>