From b4da6924804a22ca8c7727c92f4978dbd5ff336d Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sat, 16 Jan 2021 19:57:07 -0500 Subject: [PATCH] feat: update core deps --- components/NotionPage.tsx | 2 + package.json | 8 +- yarn.lock | 1370 +------------------------------------ 3 files changed, 44 insertions(+), 1336 deletions(-) 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 = (