mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
fix: updating type of pageAside to display PageSocial component in homepage
This commit is contained in:
@@ -140,7 +140,7 @@ export const NotionPage: React.FC<types.PageProps> = ({
|
||||
getPageDescription(block, recordMap) ?? config.description
|
||||
|
||||
let comments: React.ReactNode = null
|
||||
let pageAside: React.ReactChild = null
|
||||
let pageAside: React.ReactNode = null
|
||||
|
||||
// only display comments and page actions on blog post pages
|
||||
if (isBlogPost) {
|
||||
|
||||
Reference in New Issue
Block a user