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(nextjs): Don't put undefined values in props #12131

Merged
merged 1 commit into from
May 21, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented May 21, 2024

Fixes #12102

Next.js seems to employ a custom serializer that doesn't like undefined values. This PR will guard the undefined values.

@lforst lforst requested review from mydea, Lms24 and AbhiPrasad May 21, 2024 08:58
@lforst lforst merged commit ad4e9f7 into develop May 21, 2024
73 checks passed
@lforst lforst deleted the lforst-no-undefined-in-props branch May 21, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error serializing ._sentryBaggage returned from getServerSideProps
2 participants