-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
When using with NextJS 15.2.2 the Link component from "next/link" is interpreting the path returned by Home({}) or any other route as relative versus absolute. A quick fix is to wrap the route with an ensureAbsolutePath function like below.
function ensureAbsolutePath(path: string): string { return path.startsWith("/") ? path :/${path}; }
I will dig into the makeRoute.ts asset for NextJS and submit a PR with a correction.
Metadata
Metadata
Assignees
Labels
No labels