kaori před 3 roky
rodič
revize
1a37286074

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

@@ -43,7 +43,7 @@ export const TrashPageAlert = (): JSX.Element => {
       return;
       return;
     }
     }
     const putBackedHandler = () => {
     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
       // See: https://github.com/weseek/growi/pull/7054
       router.reload();
       router.reload();
     };
     };