Yohei-Shiina 4 лет назад
Родитель
Сommit
311c114eeb

+ 6 - 2
packages/app/src/components/PageDeleteModal.tsx

@@ -5,12 +5,16 @@ import {
 } from 'reactstrap';
 import { useTranslation } from 'react-i18next';
 
-import { IPageForPageDeleteModal } from '../interfaces/page';
-
 // import { apiPost } from '~/client/util/apiv1-client';
 
 import ApiErrorMessageList from './PageManagement/ApiErrorMessageList';
 
+export type IPageForPageDeleteModal = {
+  pageId: string,
+  revisionId: string,
+  path: string
+}
+
 const deleteIconAndKey = {
   completely: {
     color: 'danger',

+ 0 - 6
packages/app/src/interfaces/page.ts

@@ -19,9 +19,3 @@ export type IPage = {
 export type IPageHasId = IPage & {
   _id: string,
 };
-
-export type IPageForPageDeleteModal = {
-  pageId: string,
-  revisionId: string,
-  path: string
-}