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