Jelajahi Sumber

change type

yohei0125 4 tahun lalu
induk
melakukan
4ba595a0f4
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      packages/ui/src/components/PagePath/PageListMeta.tsx

+ 2 - 2
packages/ui/src/components/PagePath/PageListMeta.tsx

@@ -1,13 +1,13 @@
 import React, { FC } from 'react';
 import React, { FC } from 'react';
 import { templateChecker, pagePathUtils } from '@growi/core';
 import { templateChecker, pagePathUtils } from '@growi/core';
 import { FootstampIcon } from '../SearchPage/FootstampIcon';
 import { FootstampIcon } from '../SearchPage/FootstampIcon';
-import { IPage } from '@growi/app/src/interfaces/page'
+import { IPageHasId } from '@growi/app/src/interfaces/page'
 
 
 const { isTopPage } = pagePathUtils;
 const { isTopPage } = pagePathUtils;
 const { checkTemplatePath } = templateChecker;
 const { checkTemplatePath } = templateChecker;
 
 
 type PageListMetaProps = {
 type PageListMetaProps = {
-  page: IPage
+  page: IPageHasId
   likerCount?: number,
   likerCount?: number,
   bookmarkCount?: number,
   bookmarkCount?: number,
   shouldSpaceOutIcon?: boolean,
   shouldSpaceOutIcon?: boolean,