|
@@ -303,9 +303,6 @@ const GrowiContextualSubNavigation = (props: GrowiContextualSubNavigationProps):
|
|
|
router.push(path);
|
|
router.push(path);
|
|
|
}
|
|
}
|
|
|
else if (currentPathname != null) {
|
|
else if (currentPathname != null) {
|
|
|
- // Do not use "router.push(currentPathname)" to avoid `Error: Invariant: attempted to hard navigate to the same URL`
|
|
|
|
|
- // See: https://github.com/weseek/growi/pull/7061
|
|
|
|
|
- // router.reload();
|
|
|
|
|
router.push(currentPathname);
|
|
router.push(currentPathname);
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|