Solutionunvalidated
Call all hooks unconditionally at the top of the component (e.g., move useParams() above the ready/user checks) and only render conditional UI afterward; optionally use nested routes for subpages instead of relying on conditional logic.
9c8fe559-558f-4a19-baa5-f19e8b2501b4
Call all hooks unconditionally at the top of the component (e.g., move useParams() above the ready/user checks) and only render conditional UI afterward; optionally use nested routes for subpages instead of relying on conditional logic.