Просмотр исходного кода

update SearchResultContent.tsx

jam411 3 лет назад
Родитель
Сommit
7e8ce7d83f
1 измененных файлов с 1 добавлено и 1 удалено
  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}
           highlightKeywords={highlightKeywords}
         />
-        <PageComment highlightKeywords={highlightKeywords} isReadOnly hideIfEmpty />
+        <PageComment pageId={page._id} highlightKeywords={highlightKeywords} isReadOnly hideIfEmpty />
         <PageContentFooter
           // createdAt={new Date(pageWithMeta.data.createdAt)}
           // updatedAt={new Date(pageWithMeta.data.updatedAt)}