You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And it redirect me littrealy to /:income but dont replace the ":income" with selectedIncome. I had to replace it with useNavigate and it worked.
I looked in the codebase and I wonder if the miss of generatePath in the code of modal.close (2) like in Link (1) component could be the origin ?
@FrancoRATOVOSON Thanks for reporting this. This was indeed an issue related to both modals open and close methods, which the at params weren't resolving at all.
My code looks like this :
And it redirect me littrealy to
/:income
but dont replace the":income"
withselectedIncome
. I had to replace it withuseNavigate
and it worked.I looked in the codebase and I wonder if the miss of
generatePath
in the code ofmodal.close
(2) like inLink
(1) component could be the origin ?generouted/packages/react-router/src/client/components.tsx
Lines 7 to 8 in 0cadbbf
(1)
Link component
generouted/packages/react-router/src/client/hooks.ts
Lines 34 to 36 in 0cadbbf
(2)
modal.close function
The text was updated successfully, but these errors were encountered: