TanStackT
TanStack2y ago
3 replies
sad-indigo

params in useNavigation, not working

I was trying to add some params when navigating to a new route:

 navigate({
        to: "/settings",
        params: { id: "test" },
        // hash: "my-hash", //the hash seems working fine
 });


this navigate correctly to /settings but I don't see any /settings&id=test
Was this page helpful?