How to redirect to a path with params? - TanStack