routeData params are empty but not useParams
I am using the basic
When I read
Here's a minimum repro:
I'm sure it's something really silly, but I have tried so many different combinations of things and I can't get it to work...
<FileRoutes /> setup and I have a file located at routes/stuff/[slug].tsx.When I read
params.slug from useParams, I can read it properly, but when I try to do useRouteData with an exported routeData function in the same file, the params field of args: RouteDataArgs is empty :/Here's a minimum repro:
I'm sure it's something really silly, but I have tried so many different combinations of things and I can't get it to work...
