kosei-n 2 лет назад
Родитель
Сommit
4c9236358a
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      apps/app/src/components/PageHeader/page-header-utils.ts

+ 0 - 2
apps/app/src/components/PageHeader/page-header-utils.ts

@@ -5,7 +5,6 @@ import { apiv3Put } from '~/client/util/apiv3-client';
 import { toastSuccess, toastError } from '~/client/util/toastr';
 import { useSWRMUTxCurrentPage } from '~/stores/page';
 import { mutatePageTree, mutatePageList } from '~/stores/page-listing';
-import { mutateSearching } from '~/stores/search';
 
 export const usePagePathRenameHandler = (
     currentPage: IPagePopulatedToShowRevision, onRenameFinish?: () => void, onRenameFailure?: () => void,
@@ -18,7 +17,6 @@ export const usePagePathRenameHandler = (
 
   const onRenamed = (fromPath: string | undefined, toPath: string) => {
     mutatePageTree();
-    mutateSearching();
     mutatePageList();
 
     if (currentPagePath === fromPath || currentPagePath === toPath) {