diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index c80bd8a..cf7ceb1 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -79,6 +79,7 @@ export const NotionPage: React.FC = ({ }) if (!isServer) { + // add important objects global window for easy debugging ;(window as any).recordMap = recordMap ;(window as any).block = block } @@ -90,6 +91,7 @@ export const NotionPage: React.FC = ({ let comments: React.ReactNode = null + // only display comments on blog post pages if (block.type === 'page' && block.parent_table === 'collection') { comments = (