kaori 4 лет назад
Родитель
Сommit
e38e468e57
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      packages/app/src/components/PageList/PageListItemL.tsx

+ 0 - 2
packages/app/src/components/PageList/PageListItemL.tsx

@@ -12,7 +12,6 @@ import urljoin from 'url-join';
 
 import { UserPicture, PageListMeta } from '@growi/ui';
 import { DevidedPagePath } from '@growi/core';
-import { toastSuccess } from '~/client/util/apiNotification';
 import { useIsDeviceSmallerThanLg } from '~/stores/ui';
 import {
   usePageRenameModal, usePageDuplicateModal, usePageDeleteModal, OnDeletedFunction,
@@ -38,7 +37,6 @@ type Props = {
 }
 
 const PageListItemLSubstance: ForwardRefRenderFunction<ISelectable, Props> = (props: Props, ref): JSX.Element => {
-  const { t } = useTranslation();
   const {
     // todo: refactoring variable name to clear what changed
     page: { pageData, pageMeta }, isSelected, isEnableActions,