|
@@ -5,7 +5,7 @@ import React, {
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
|
type IPageInfoForListing, type IPageWithMeta, isIPageInfoForListing,
|
|
type IPageInfoForListing, type IPageWithMeta, isIPageInfoForListing,
|
|
|
-} from '@growi/core';
|
|
|
|
|
|
|
+} from '@growi/core/dist/interfaces';
|
|
|
import { useTranslation } from 'next-i18next';
|
|
import { useTranslation } from 'next-i18next';
|
|
|
|
|
|
|
|
import type { ISelectable, ISelectableAll } from '~/client/interfaces/selectable-all';
|
|
import type { ISelectable, ISelectableAll } from '~/client/interfaces/selectable-all';
|
|
@@ -130,8 +130,7 @@ const SearchResultListSubstance: ForwardRefRenderFunction<ISelectableAll, Props>
|
|
|
return (
|
|
return (
|
|
|
<PageListItemL
|
|
<PageListItemL
|
|
|
key={page.data._id}
|
|
key={page.data._id}
|
|
|
- // eslint-disable-next-line no-return-assign
|
|
|
|
|
- ref={c => itemsRef.current[i] = c}
|
|
|
|
|
|
|
+ ref={(c) => { itemsRef.current[i] = c }}
|
|
|
page={page}
|
|
page={page}
|
|
|
isEnableActions={!isGuestUser}
|
|
isEnableActions={!isGuestUser}
|
|
|
isReadOnlyUser={!!isReadOnlyUser}
|
|
isReadOnlyUser={!!isReadOnlyUser}
|