-
Notifications
You must be signed in to change notification settings - Fork 619
Update condition for showing verify email button in faucet claim section #5394
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
Update condition for showing verify email button in faucet claim section #5394
Conversation
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @MananTank and the rest of your teammates on |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5394 +/- ##
=======================================
Coverage 45.70% 45.70%
=======================================
Files 1070 1070
Lines 55671 55671
Branches 4081 4081
=======================================
Hits 25446 25446
Misses 29536 29536
Partials 689 689
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
…ion (#5394) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the email verification logic for claiming from the faucet in the `FaucetButton` component. It changes the condition to check for both unconfirmed email and the absence of a confirmed email. ### Detailed summary - Modified the condition to check if `emailConfirmedAt` is falsy and if `unconfirmedEmail` is truthy. - Removed the previous check for `accountQuery.data.status === "noCustomer"`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
d26b4c4 to
daae1dc
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR updates the condition for allowing users to claim from the faucet by incorporating email verification checks.
Detailed summary
accountQuery.data.statusis"noCustomer"to checking if bothaccountQuery.data.emailConfirmedAtis falsy andaccountQuery.data.unconfirmedEmailis falsy.