kaori před 4 roky
rodič
revize
6250bb4d54

+ 0 - 4
packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx

@@ -175,10 +175,6 @@ const GrowiContextualSubNavigation = (props) => {
     openDeleteModal([pageToDelete]);
   }, [openDeleteModal]);
 
-  // const presentationMenuItemClickHandler = useCallback(() => {
-  //   onClickPresentationMenuItem();
-  // }, []);
-
   const ControlComponents = useCallback(() => {
     function onPageEditorModeButtonClicked(viewType) {
       mutateEditorMode(viewType);

+ 0 - 5
packages/app/src/stores/ui.tsx

@@ -426,11 +426,6 @@ export const usePageRenameModalOpened = (): SWRResponse<boolean, Error> => {
 };
 
 // PagePresentationModal
-export type IPageForPagePresentationModal = {
-  // pageId: string,
-  // revisionId: string,
-  // path: string
-}
 
 type PresentationModalStatus = {
   isOpened: boolean,