TanStackT
TanStack2y ago
4 replies
primary-violet

route.to not matching ToOptions

I just updated from 1.0.6 to 1.29.2

Using a route.to no longer has the trailing / and doesn't match anything in my router.

The routes still work so my assumption is that ToOptions is the wrong type to use here as it expects the trailing / where route.to trims this slash.

Any ideas on how to solve this?
Screenshot_2024-04-24_at_9.34.15_AM.png
Was this page helpful?