prismicio/prismic-next

Next 13 PrismicPreview

Closed this issue · 2 comments

mxkxf commented

Versions

  • @prismicio/next: 1.0.0
  • next: 13.0.3
  • node: 16.16.0

Reproduction

Follow set up instructions with a Next 13 app:

https://prismic.io/docs/setup-nextjs

Steps to reproduce

What is expected?

No type error

What is actually happening?

See the following type error:

Screenshot 2022-11-17 at 09 50 27

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:

  • Information about your environment and packages you use (Node.js version, package names and their versions, etc.)
    Feel free to attach a copy of your package.json file.
  • Any troubleshooting steps you already went through
  • A minimal reproduction of the issue, and/or instructions on how to reproduce it

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

Hi @mikefrancis, thanks for the report. This should be fixed as of v1.0.1.

You can update to the latest version with the following command:

npm install @prismicio/next@latest

If this doesn't fix the issue, please let me know and I'll take another look. Thanks!