mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 15:10:26 +00:00
使用cookie管理会话主题,并修复深色主题初始化的BUG
This commit is contained in:
@@ -17,7 +17,7 @@ import { ThemeProvider } from '@/lib/theme'
|
||||
const Ackee = dynamic(() => import('@/components/Ackee'), { ssr: false })
|
||||
const Gtag = dynamic(() => import('@/components/Gtag'), { ssr: false })
|
||||
|
||||
function MyApp ({ Component, pageProps }) {
|
||||
const MyApp = ({ Component, pageProps }) => {
|
||||
return (
|
||||
<LocaleProvider>
|
||||
<ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user