PrismicNextLink not linking to document inside a slice repeatable field

Ok, so I'm loosing the plot, I found the issue.

Instead of importing the Prismic client from the route of the project, I was importing the client from the package. :man_facepalming:

Wrong: import { createClient } from "@/prismicio/client";
Correct: import { createClient } from "@/prismicio";

1 Like