Browse Source

update SearchResultContent.tsx

jam411 3 years ago
parent
commit
7e8ce7d83f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/SearchPage/SearchResultContent.tsx

+ 1 - 1
packages/app/src/components/SearchPage/SearchResultContent.tsx

@@ -214,7 +214,7 @@ export const SearchResultContent: FC<Props> = (props: Props) => {
           revisionId={page.revision}
           revisionId={page.revision}
           highlightKeywords={highlightKeywords}
           highlightKeywords={highlightKeywords}
         />
         />
-        <PageComment highlightKeywords={highlightKeywords} isReadOnly hideIfEmpty />
+        <PageComment pageId={page._id} highlightKeywords={highlightKeywords} isReadOnly hideIfEmpty />
         <PageContentFooter
         <PageContentFooter
           // createdAt={new Date(pageWithMeta.data.createdAt)}
           // createdAt={new Date(pageWithMeta.data.createdAt)}
           // updatedAt={new Date(pageWithMeta.data.updatedAt)}
           // updatedAt={new Date(pageWithMeta.data.updatedAt)}