适配NextJs13语法

This commit is contained in:
tangly1024
2023-01-01 19:42:37 +08:00
parent b361f7fa0c
commit 6bb5571655
110 changed files with 2494 additions and 2057 deletions

View File

@@ -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 }
}