mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
feat: update core deps
This commit is contained in:
@@ -79,6 +79,7 @@ export const NotionPage: React.FC<types.PageProps> = ({
|
||||
})
|
||||
|
||||
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<types.PageProps> = ({
|
||||
|
||||
let comments: React.ReactNode = null
|
||||
|
||||
// only display comments on blog post pages
|
||||
if (block.type === 'page' && block.parent_table === 'collection') {
|
||||
comments = (
|
||||
<ReactUtterances
|
||||
|
||||
@@ -33,16 +33,16 @@
|
||||
"isomorphic-unfetch": "^3.1.0",
|
||||
"lqip-modern": "^1.1.3",
|
||||
"next": "^10.0.6-canary.2",
|
||||
"notion-client": "^3.0.1",
|
||||
"notion-types": "^3.0.0",
|
||||
"notion-utils": "^3.0.1",
|
||||
"notion-client": "^3.1.1",
|
||||
"notion-types": "^3.1.1",
|
||||
"notion-utils": "^3.1.1",
|
||||
"p-map": "^4.0.0",
|
||||
"p-memoize": "^4.0.0",
|
||||
"react": "17.0.1",
|
||||
"react-body-classname": "^1.3.1",
|
||||
"react-dom": "17.0.1",
|
||||
"react-icons": "^4.1.0",
|
||||
"react-notion-x": "^3.0.1",
|
||||
"react-notion-x": "^3.1.2",
|
||||
"react-use": "^15.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user