#Routing not going to new route even though it exists
1 messages · Page 1 of 1 (latest)
Yes, please create a minimal example so we can help. Thanks!
I believe you should simply link to b. See this example:
this is the link that renders it:
<Link to={`/patient/${patient.id}/prescreen`} className={cn(buttonVariants(), "")}>
Start Prescreen
</Link>
and /routes structure:
can you inspect the developer tools and share what is rendered at href attribute ??
it is likely that you might have double slashes created in url, so if you check that "href " it might reveal more
@visual meteor
@sturdy hull Appreciate your comment, somehow it randomly started working with no changes to the code... very confused here but wtv