Explorar el Código

add dependencies

kosei-n hace 2 años
padre
commit
236d11f9e7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apps/app/src/components/PageHeader/PagePathHeader.tsx

+ 1 - 1
apps/app/src/components/PageHeader/PagePathHeader.tsx

@@ -70,7 +70,7 @@ export const PagePathHeader: FC<Props> = (props) => {
       setEditedPagePath(currentPagePath);
       setRenameInputShown(true);
     }
-  }, [currentPagePath, editedPagePath, isRenameInputShown, pagePathRenameHandler]);
+  }, [currentPagePath, editedPagePath, isRenameInputShown, onRenameFailure, onRenameFinish, pagePathRenameHandler]);
 
   const isOpened = PageSelectModalData?.isOpened ?? false;
   const isViewMode = editorMode === EditorMode.View;