Link to prismic page

I have a link field as part of a repeatable group. Some links are web urls and others are links to prismic documents. The prismic documents urls do not work. How do I fix this? I'm using the nextjs snippets provided by your app exactly:

<>
  {slice.primary.brands.map((item) => {
    <PrismicNextLink field={item.url}>Link</PrismicNextLink>
  })}
</>

Hey @robbyk,

I'm assuming that item.url is a link field.

Do you have a route resolver properly configured? If so, every document that comes back from the API should have a url property.

Sam