mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-04 23:16:53 +00:00
适配NextJs13语法
This commit is contained in:
@@ -15,7 +15,7 @@ const NoFound = props => {
|
||||
}
|
||||
|
||||
export async function getStaticProps () {
|
||||
const props = await getGlobalNotionData({ from: '404' }) || {}
|
||||
const props = (await getGlobalNotionData({ from: '404' })) || {}
|
||||
return { props }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user