Skip to content

Commit

Permalink
cleanup: remove unnecessary effect dep (#54134)
Browse files Browse the repository at this point in the history
Accidentally left this in after making some changes in:

- #54081
  • Loading branch information
ztanner authored Aug 16, 2023
1 parent bdd0f54 commit 4f7fc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/client/components/app-router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f7fc05

Please sign in to comment.