diff --git a/services/web/frontend/js/features/editor-left-menu/hooks/use-set-overall-theme.tsx b/services/web/frontend/js/features/editor-left-menu/hooks/use-set-overall-theme.tsx index 7390ca3e48..ae26458c33 100644 --- a/services/web/frontend/js/features/editor-left-menu/hooks/use-set-overall-theme.tsx +++ b/services/web/frontend/js/features/editor-left-menu/hooks/use-set-overall-theme.tsx @@ -6,8 +6,10 @@ import { OverallThemeMeta } from '../../../../../types/project-settings' import { saveUserSettings } from '../utils/api' export default function useSetOverallTheme() { - const [loadingStyleSheet, setLoadingStyleSheet] = useScopeValue('ui.loadingStyleSheet') const [chosenTheme, setChosenTheme] = useState(null) + const [loadingStyleSheet, setLoadingStyleSheet] = useScopeValue( + 'ui.loadingStyleSheet' + ) const [overallThemeScope, setOverallThemeScope] = useScopeValue( 'settings.overallTheme' )