Skip to content

Commit 4b49fd3

Browse files
🐯
1 parent 3c1fad5 commit 4b49fd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/get-all-pages.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export async function getAllPagesImpl(
3434
})
3535

3636
if (map[canonicalPageId]) {
37+
// you can have multiple pages in different collections that have the same id
38+
// TODO: we may want to error if neither entry is a collection page
3739
console.warn('error duplicate canonical page id', {
3840
canonicalPageId,
3941
pageId,

0 commit comments

Comments
 (0)