kaori 3 лет назад
Родитель
Сommit
1a37286074
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/PageAlert/TrashPageAlert.tsx

+ 1 - 1
packages/app/src/components/PageAlert/TrashPageAlert.tsx

@@ -43,7 +43,7 @@ export const TrashPageAlert = (): JSX.Element => {
       return;
     }
     const putBackedHandler = () => {
-      // Do not use "router.push(`/${pageId}`)" to avoid Err"
+      // Do not use "router.push(`/${pageId}`)" to avoid `Error: Invariant: attempted to hard navigate to the same URL`
       // See: https://github.com/weseek/growi/pull/7054
       router.reload();
     };