Skip to content

Commit d26b4c4

Browse files
committed
Update condition for showing verify you email button in faucet claim section
1 parent 9584885 commit d26b4c4

File tree

1 file changed

+4
-1
lines changed
  • apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client

1 file changed

+4
-1
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/FaucetButton.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,10 @@ export function FaucetButton({
202202
}
203203

204204
// Email verification is required to claim from the faucet
205-
if (accountQuery.data.status === "noCustomer") {
205+
if (
206+
!accountQuery.data.emailConfirmedAt &&
207+
!accountQuery.data.unconfirmedEmail
208+
) {
206209
return (
207210
<>
208211
<Button

0 commit comments

Comments
 (0)