调试模式

This commit is contained in:
tangly1024
2022-03-15 17:25:56 +08:00
parent a15fc196b2
commit 8a92e14db6
15 changed files with 259 additions and 93 deletions

View File

@@ -17,7 +17,6 @@ export function GlobalContextProvider ({ children }) {
const [isDarkMode, updateDarkMode] = useState(false)
const [onLoading, changeLoadingState] = useState(false)
const [theme, setTheme] = useState(BLOG.THEME)
Router.events.on('routeChangeStart', (...args) => {
changeLoadingState(true)
})