Change variable declaration location + apply prettier

GitOrigin-RevId: 3237a417c23d5c66c47385e55f8d3cb68bdfc3ca
This commit is contained in:
M Fahru 2022-12-23 16:43:46 -07:00 committed by Copybot
parent 414540af5c
commit c2b0707c2a

View file

@ -6,8 +6,10 @@ import { OverallThemeMeta } from '../../../../../types/project-settings'
import { saveUserSettings } from '../utils/api'
export default function useSetOverallTheme() {
const [loadingStyleSheet, setLoadingStyleSheet] = useScopeValue<boolean>('ui.loadingStyleSheet')
const [chosenTheme, setChosenTheme] = useState<OverallThemeMeta | null>(null)
const [loadingStyleSheet, setLoadingStyleSheet] = useScopeValue<boolean>(
'ui.loadingStyleSheet'
)
const [overallThemeScope, setOverallThemeScope] = useScopeValue<OverallTheme>(
'settings.overallTheme'
)