mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-28 15:10:04 +00:00
保存用户深色模式
This commit is contained in:
@@ -24,7 +24,7 @@ export function GlobalContextProvider({ children }) {
|
||||
|
||||
useEffect(() => {
|
||||
initLocale(lang, locale, updateLang, updateLocale)
|
||||
initDarkMode(isDarkMode, updateDarkMode)
|
||||
initDarkMode(updateDarkMode)
|
||||
initTheme()
|
||||
}, [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user