Unverified Commit 4f7fc05f authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

cleanup: remove unnecessary effect dep (#54134)

Accidentally left this in after making some changes in:

- https://github.com/vercel/next.js/pull/54081
parent bdd0f545
......@@ -387,7 +387,7 @@ function Router({
return () => {
window.removeEventListener('pageshow', handlePageShow)
}
}, [dispatch, initialTree])
}, [dispatch])
// When mpaNavigation flag is set do a hard navigation to the new url.
// Infinitely suspend because we don't actually want to rerender any child
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment