Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for multiZoneDraftMode (issue 1076) #1077

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Conversation

lordphnx
Copy link
Contributor

NextJS apparently now reads multiZoneDraftMode from apiContext
Inside NTARH, undefined is passed as apiContext, which causes Next to react undefined. multiZoneDraftMode which crashes the test.

The fix that works for us is to pass {} as apiContext, multiZoneDraftMode will still be undefined, but we don't get a "null"pointer

@lordphnx lordphnx requested a review from Xunnamius as a code owner September 18, 2024 10:59
@lordphnx lordphnx changed the title Fix for multiZoneDraftMode Fix for multiZoneDraftMode (issue 1076) Sep 18, 2024
@lordphnx
Copy link
Contributor Author

@Xunnamius I'm a total GitHub noob, so bear with me through the signing 😅

@Xunnamius
Copy link
Owner

Xunnamius commented Sep 18, 2024

All good 😄, I'll squash merge it in a sec

(related issue: vercel/next.js@4cf65d5 and vercel/next.js#68997)

@Xunnamius Xunnamius merged commit c061b91 into Xunnamius:main Sep 18, 2024
2 checks passed
@Xunnamius
Copy link
Owner

🎉 This PR is included in version 4.0.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants