···11+diff --git a/node_modules/next/dist/client/components/app-router.js b/node_modules/next/dist/client/components/app-router.js
22+index 69d3063..89f154f 100644
33+--- a/node_modules/next/dist/client/components/app-router.js
44++++ b/node_modules/next/dist/client/components/app-router.js
55+@@ -326,6 +326,11 @@ function copyNextJsInternalHistoryState(data) {
66+ if (!event.persisted || !((_window_history_state = window.history.state) == null ? void 0 : _window_history_state.__PRIVATE_NEXTJS_INTERNALS_TREE)) {
77+ return;
88+ }
99++ // If restoring from a MPA navigation, globalMutable.pendingMpaPath might be set to
1010++ // the URL we navigated to. This breaks future navigations to that URL, so we need to clear it
1111++ if (globalMutable.pendingMpaPath) {
1212++ globalMutable.pendingMpaPath = undefined;
1313++ }
1414+ dispatch({
1515+ type: _routerreducertypes.ACTION_RESTORE,
1616+ url: new URL(window.location.href),
1717+diff --git a/node_modules/next/dist/esm/client/components/app-router.js b/node_modules/next/dist/esm/client/components/app-router.js
1818+index d6ee706..a35fb4a 100644
1919+--- a/node_modules/next/dist/esm/client/components/app-router.js
2020++++ b/node_modules/next/dist/esm/client/components/app-router.js
2121+@@ -295,6 +295,11 @@ function copyNextJsInternalHistoryState(data) {
2222+ if (!event.persisted || !((_window_history_state = window.history.state) == null ? void 0 : _window_history_state.__PRIVATE_NEXTJS_INTERNALS_TREE)) {
2323+ return;
2424+ }
2525++ // If restoring from a MPA navigation, globalMutable.pendingMpaPath might be set to
2626++ // the URL we navigated to. This breaks future navigations to that URL, so we need to clear it
2727++ if (globalMutable.pendingMpaPath) {
2828++ globalMutable.pendingMpaPath = undefined;
2929++ }
3030+ dispatch({
3131+ type: ACTION_RESTORE,
3232+ url: new URL(window.location.href),