|
@@ -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();
|
|
|
};
|
|
};
|