mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
feat: update core deps
This commit is contained in:
@@ -40,7 +40,7 @@ export async function resolveNotionPage(domain: string, rawPageId?: string) {
|
||||
// e.g., /developer-x-entrepreneur versus /71201624b204481f862630ea25ce62fe
|
||||
const siteMaps = await getSiteMaps()
|
||||
const siteMap = siteMaps[0]
|
||||
pageId = siteMap.canonicalPageMap[rawPageId]
|
||||
pageId = siteMap?.canonicalPageMap[rawPageId]
|
||||
|
||||
if (pageId) {
|
||||
// TODO: we're not re-using the site from siteMaps because it is
|
||||
|
||||
Reference in New Issue
Block a user