WaspW
Wasp2y ago
5 replies
CamBlackwood

Link Components having typescript errors when linking to a path with a slug

When I try and use the "to" prop of a Link component, I get a typescript error on wasp start saying that it is not of the correct type if it contains a slug - eg profile/123 fails as the 123 is dynamic. What's the best way around this?
Was this page helpful?