|
|
@@ -1,6 +1,6 @@
|
|
|
import type { FC } from 'react';
|
|
|
import React, {
|
|
|
- useCallback, useEffect, useRef, useState,
|
|
|
+ useCallback, useEffect, useRef,
|
|
|
} from 'react';
|
|
|
|
|
|
import { getIdForRef } from '@growi/core';
|
|
|
@@ -27,7 +27,6 @@ import { mutateSearching } from '~/stores/search';
|
|
|
import type { AdditionalMenuItemsRendererProps, ForceHideMenuItems } from '../Common/Dropdown/PageItemControl';
|
|
|
import { PagePathNav } from '../Common/PagePathNav';
|
|
|
import { type RevisionLoaderProps } from '../Page/RevisionLoader';
|
|
|
-import { type PageCommentProps } from '../PageComment';
|
|
|
import type { PageContentFooterProps } from '../PageContentFooter';
|
|
|
|
|
|
import styles from './SearchResultContent.module.scss';
|
|
|
@@ -38,7 +37,7 @@ const _fluidLayoutClass = styles['fluid-layout'];
|
|
|
|
|
|
const PageControls = dynamic(() => import('../PageControls').then(mod => mod.PageControls), { ssr: false });
|
|
|
const RevisionLoader = dynamic<RevisionLoaderProps>(() => import('../Page/RevisionLoader').then(mod => mod.RevisionLoader), { ssr: false });
|
|
|
-const PageComment = dynamic<PageCommentProps>(() => import('../PageComment').then(mod => mod.PageComment), { ssr: false });
|
|
|
+const PageComment = dynamic(() => import('../PageComment').then(mod => mod.PageComment), { ssr: false });
|
|
|
const PageContentFooter = dynamic<PageContentFooterProps>(() => import('../PageContentFooter').then(mod => mod.PageContentFooter), { ssr: false });
|
|
|
|
|
|
type AdditionalMenuItemsProps = AdditionalMenuItemsRendererProps & {
|