|
|
@@ -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 RevisionLoader = dynamic(() => import('../Page/RevisionLoader'), { 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);
|
|
|
|
|
|
@@ -217,12 +218,13 @@ export const SearchResultContent: FC<Props> = (props: Props) => {
|
|
|
highlightKeywords={highlightKeywords}
|
|
|
/>
|
|
|
<PageComment pageId={page._id} highlightKeywords={highlightKeywords} isReadOnly hideIfEmpty />
|
|
|
- <PageContentFooter
|
|
|
+ {/* TODO: Commentout for eslint error */}
|
|
|
+ {/* <PageContentFooter
|
|
|
// createdAt={new Date(pageWithMeta.data.createdAt)}
|
|
|
// updatedAt={new Date(pageWithMeta.data.updatedAt)}
|
|
|
// creator={pageWithMeta.data.creator}
|
|
|
// revisionAuthor={pageWithMeta.data.lastUpdateUser}
|
|
|
- />
|
|
|
+ /> */}
|
|
|
</div>
|
|
|
</div>
|
|
|
);
|