Fixing the diffing. The issue was that useRouter was being used in 2 components on different branches of the rendering tree, and ordering of some react hooks.
This is because useRouter uses React's Context API, which is only unique per branch of the render tree
Fixing the diffing. The issue was that
useRouter
was being used in 2 components on different branches of the rendering tree, and ordering of some react hooks.This is because
useRouter
uses React's Context API, which is only unique per branch of the render tree