소스 검색

clean code

Yuki Takei 2 년 전
부모
커밋
d6df062e5d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      apps/app/src/components/Navbar/GrowiContextualSubNavigation.tsx

+ 2 - 2
apps/app/src/components/Navbar/GrowiContextualSubNavigation.tsx

@@ -26,7 +26,7 @@ import {
 } from '~/stores/page';
 import { mutatePageTree } from '~/stores/page-listing';
 import {
-  EditorMode, useEditorMode, useIsAbleToShowPageManagement,
+  useEditorMode, useIsAbleToShowPageManagement,
   useIsAbleToChangeEditorMode,
 } from '~/stores/ui';
 
@@ -172,7 +172,7 @@ const CreateTemplateMenuItems = (props: CreateTemplateMenuItemsProps): JSX.Eleme
 
 type GrowiContextualSubNavigationProps = {
   currentPage?: IPagePopulatedToShowRevision | null,
-  isLinkSharingDisabled: boolean,
+  isLinkSharingDisabled?: boolean,
 };
 
 const GrowiContextualSubNavigation = (props: GrowiContextualSubNavigationProps): JSX.Element => {