Skip to content

Commit 7098c84

Browse files
committed
changed comeback tomorrow to give funds (#3744)
## Problem solved Short description of the bug fixed or feature added ## Changes made - [ ] come back tomorrow gives funds now ## How to test - [ ] Automated tests: link to unit test file - [ ] Manual tests: step by step instructions on how to test ## Contributor NFT Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged. ```Address: ``` <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the SpinWheel component in the dashboard app to adjust the amount displayed based on the result and improve the success message. ### Detailed summary - Updated the amount displayed based on the result in `SpinWheel.tsx` - Improved success message with a more informative and positive message > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent c073ce5 commit 7098c84

File tree

1 file changed

+2
-2
lines changed
  • apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/faucet/components

1 file changed

+2
-2
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/faucet/components/SpinWheel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function TestnetSpinWheel({
7676

7777
const claimMutation = useMutation({
7878
mutationFn: async (result: string) => {
79-
const amount = result === "Come back tomorrow" ? "0" : result;
79+
const amount = result === "Come back tomorrow" ? "0.01" : result;
8080
const requestBody = {
8181
chainId: chainId,
8282
toAddress: address,
@@ -103,7 +103,7 @@ export function TestnetSpinWheel({
103103
router.refresh();
104104
const successMessage =
105105
claimMutation.variables === "Come back tomorrow"
106-
? "You're not lucky today come back tomorrow"
106+
? "You're not lucky today, but don't worry you got 0.01 💜"
107107
: `${claimMutation.variables} ${chain?.nativeCurrency?.name} sent to ${address}`;
108108
toast.success(successMessage);
109109
},

0 commit comments

Comments
 (0)