Open DiemasMichiels opened 7 months ago
This issue has been labeled as a bug since it was created using the 🚨 Bug Report Template.
Hi there, thank you so much for the report!
Following our Maintenance Process, we will review your bug report and get back to you next Wednesday. To ensure a smooth review of your issue and avoid unnecessary delays, please make sure your issue includes the following:
package.json
file.If you have identified the cause of the bug described in your report and know how to fix it, you're more than welcome to open a pull request address it. Check out our quick start guide for a simple contribution process.
If you think your issue is a question (not a bug) and would like quicker support, please close this issue and forward it to an appropriate section on our community forum: https://community.prismic.io
- The Prismic Open-Source Team
Using
PrismicNextLink
withbasePath
throws the following hydration error:Resulting in an issue where the link can be wrong displayed. Looking into the issue, I copied the exact
PrismicNextLink
file from here and tried with that. Removing the forwarded ref resolved the issue forbasePath
and the/
at the end.Versions
@prismicio/next
: v1.5.0next
: v14.1.4Steps to reproduce
createClient
.basePath
tonext.config.mjs
What is expected?
The error should not be thrown with or without
basePath
.What is actually happening?
An error is thrown, and the path is sometimes incorrect.