Skip to content

Commit

Permalink
Merge pull request #539 from us3r-network/F-toastClaim-ttang
Browse files Browse the repository at this point in the history
feat: toast claim
  • Loading branch information
Tonyce authored Feb 9, 2024
2 parents 7dc0585 + 5a4ef36 commit 7aeae7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/u3/src/components/onboard/Claim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default function ClaimOnboard() {
}
if (claimStatus.statusCode === 102) {
navigate('/');
toast.success('Claim transaction queued.');
return;
}
try {
Expand All @@ -44,6 +45,7 @@ export default function ClaimOnboard() {
return;
}
setClaimStatus({ statusCode: 102, amount: 0 });
toast.success('Claim transaction queued.');
navigate('/');
} catch (e) {
console.error(e);
Expand Down

0 comments on commit 7aeae7b

Please sign in to comment.