Skip to content

Commit 2cbc5fe

Browse files
committed
fix: currency param
1 parent 4782c81 commit 2cbc5fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/pages/callback/callback-page.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ const CallbackPage = () => {
6464
: null;
6565
const selected_currency =
6666
(is_valid_currency ? state?.account?.currency || currency : currency) || firstAccountCurrency;
67+
console.log('selected_currency', {
68+
firstAccountCurrency,
69+
stateAccountCurrency: state?.account?.currency,
70+
currency,
71+
selected_currency,
72+
});
6773
window.location.assign(`/?account=${selected_currency}`);
6874
}}
6975
renderReturnButton={() => {

0 commit comments

Comments
 (0)