mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
去掉多余控制台打印
This commit is contained in:
@@ -29,7 +29,6 @@ export function GlobalContextProvider ({ children }) {
|
||||
useEffect(() => {
|
||||
if (!hasInit) {
|
||||
const userTheme = getQueryVariable('theme')
|
||||
console.log('用户主题', userTheme)
|
||||
if (userTheme && ALL_THEME.indexOf(userTheme) > -1) {
|
||||
setTheme(userTheme)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user