| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
tanstack-com | 937bc92 | Commit Preview URL Branch Preview URL |
Aug 28 2026, 11:02 PM |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Addresses a TypeError in the NewsletterSignup component where user?.signupSources.includes('newsletter') would crash if user was defined but user.signupSources was undefined. This happened for users whose accounts might not have the signupSources field initialized.
The fix adds optional chaining (?.) to signupSources, changing the expression to user?.signupSources?.includes('newsletter') ?? false. This ensures that if signupSources is undefined, the expression safely short-circuits without throwing an error, preventing the component from crashing.
Fixes TANSTACK-COM-4W6
This PR was automatically generated by Sentry. You can adjust this setting at any time.