UseParams with paraller Routes - bug
Unanswered
Indian mackerel posted this in #help-forum
Indian mackerelOP
When using paraller routes with useParams(), the useParams keeps previous values when it should be undefined.
-
@admin
--[adminId]
-
@user
--page.tsx
When redirecting from [adminId] to page.tsx the useParams keeps old adminId and shows it instead of undefined
-
@admin
--[adminId]
-
@user
--page.tsx
When redirecting from [adminId] to page.tsx the useParams keeps old adminId and shows it instead of undefined