mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
🐯
This commit is contained in:
@@ -34,6 +34,8 @@ export async function getAllPagesImpl(
|
||||
})
|
||||
|
||||
if (map[canonicalPageId]) {
|
||||
// you can have multiple pages in different collections that have the same id
|
||||
// TODO: we may want to error if neither entry is a collection page
|
||||
console.warn('error duplicate canonical page id', {
|
||||
canonicalPageId,
|
||||
pageId,
|
||||
|
||||
Reference in New Issue
Block a user