From b63021c4492a1742b8fa65c39ec648f140e0748b Mon Sep 17 00:00:00 2001
From: stuppie
Date: Mon, 21 Sep 2026 18:03:20 -0600
Subject: cashout request email flow and views
---
jb-ui/src/JBApp.tsx | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
(limited to 'jb-ui/src')
diff --git a/jb-ui/src/JBApp.tsx b/jb-ui/src/JBApp.tsx
index 083e52d..67b8dfc 100644
--- a/jb-ui/src/JBApp.tsx
+++ b/jb-ui/src/JBApp.tsx
@@ -32,6 +32,7 @@ import { addCashoutMethods } from "@/models/cashoutMethodsSlice";
import { addEvent } from "@/models/grlEventsSlice";
import { addStatsData } from "@/models/grlStatsSlice";
+import CashoutConfirmation from "@/pages/CashoutConfirmation";
import MagicLink from "@/pages/MagicLink";
import MagicAMTLink from "@/pages/MagicAMTLink";
import Result from "@/pages/Result";
@@ -110,7 +111,7 @@ function QueryParamProcessor() {
const response = res.data as UserLedgerWallets;
if (response.displayed_balances) {
- setUserDisplayedWalletBalance(response.displayed_balances[0]);
+ dispatch(setUserDisplayedWalletBalance(response.displayed_balances[0]));
}
const userWallet = response.wallets?.find(
@@ -118,7 +119,7 @@ function QueryParamProcessor() {
w.account_type === UserLedgerWalletAccountTypeEnum.UserWallet,
);
if (userWallet) {
- setUserWallet(userWallet);
+ dispatch(setUserWallet(userWallet));
}
const userAttemptCreditWallet = response.wallets?.find(
@@ -127,7 +128,7 @@ function QueryParamProcessor() {
UserLedgerWalletAccountTypeEnum.UserAttemptCredit,
);
if (userAttemptCreditWallet) {
- setUserAttemptCreditWallet(userAttemptCreditWallet);
+ dispatch(setUserAttemptCreditWallet(userAttemptCreditWallet));
}
});
}
@@ -276,6 +277,10 @@ function JBApp() {
} />
} />
} />
+ }
+ />
} />
} />
--
cgit v1.2.3