mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-08 23:16:54 +00:00
使用cookie管理会话主题,并修复深色主题初始化的BUG
This commit is contained in:
@@ -25,7 +25,7 @@ export async function getStaticProps () {
|
||||
}
|
||||
}
|
||||
|
||||
const index = ({ posts, tags, meta }) => {
|
||||
const Index = ({ posts, tags, meta }) => {
|
||||
return (
|
||||
<BaseLayout meta={meta} tags={tags}>
|
||||
<div className='flex-grow'>
|
||||
@@ -36,4 +36,4 @@ const index = ({ posts, tags, meta }) => {
|
||||
)
|
||||
}
|
||||
|
||||
export default index
|
||||
export default Index
|
||||
|
||||
Reference in New Issue
Block a user