jam411 před 3 roky
rodič
revize
8b59b81b89

+ 5 - 3
packages/app/src/components/SearchPage/SearchResultContent.tsx

@@ -81,7 +81,8 @@ export const SearchResultContent: FC<Props> = (props: Props) => {
   const SubNavButtons = dynamic<SubNavButtonsProps>(() => import('../Navbar/SubNavButtons').then(mod => mod.SubNavButtons), { ssr: false });
   const SubNavButtons = dynamic<SubNavButtonsProps>(() => import('../Navbar/SubNavButtons').then(mod => mod.SubNavButtons), { ssr: false });
   const RevisionLoader = dynamic(() => import('../Page/RevisionLoader'), { ssr: false });
   const RevisionLoader = dynamic(() => import('../Page/RevisionLoader'), { ssr: false });
   const PageComment = dynamic(() => import('../PageComment').then(mod => mod.PageComment), { ssr: false });
   const PageComment = dynamic(() => import('../PageComment').then(mod => mod.PageComment), { ssr: false });
-  const PageContentFooter = dynamic(() => import('../PageContentFooter'), { ssr: false });
+  // TODO: Commentout for eslint error
+  // const PageContentFooter = dynamic(() => import('../PageContentFooter'), { ssr: false });
 
 
   const scrollElementRef = useRef(null);
   const scrollElementRef = useRef(null);
 
 
@@ -217,12 +218,13 @@ export const SearchResultContent: FC<Props> = (props: Props) => {
           highlightKeywords={highlightKeywords}
           highlightKeywords={highlightKeywords}
         />
         />
         <PageComment pageId={page._id} highlightKeywords={highlightKeywords} isReadOnly hideIfEmpty />
         <PageComment pageId={page._id} highlightKeywords={highlightKeywords} isReadOnly hideIfEmpty />
-        <PageContentFooter
+        {/* TODO: Commentout for eslint error */}
+        {/* <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)}
           // creator={pageWithMeta.data.creator}
           // creator={pageWithMeta.data.creator}
           // revisionAuthor={pageWithMeta.data.lastUpdateUser}
           // revisionAuthor={pageWithMeta.data.lastUpdateUser}
-        />
+        /> */}
       </div>
       </div>
     </div>
     </div>
   );
   );