mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Change variable declaration location + apply prettier
GitOrigin-RevId: 3237a417c23d5c66c47385e55f8d3cb68bdfc3ca
This commit is contained in:
parent
414540af5c
commit
c2b0707c2a
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue