diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index bd119bf..ac4767e 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -109,8 +109,9 @@ export const NotionPage: React.FC = ({ }) if (!config.isServer) { - // add important objects global window for easy debugging + // add important objects to the window global for easy debugging const g = window as any + g.pageId = pageId g.recordMap = recordMap g.block = block }