We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4928bb2 commit 4782c81Copy full SHA for 4782c81
src/pages/callback/callback-page.tsx
@@ -58,8 +58,8 @@ const CallbackPage = () => {
58
.map(key => tokens[key]);
59
const is_valid_currency = currencies.includes(state?.account || currency || '');
60
61
- const firstAccountKey = Object.keys(clientAccounts)[0];
62
- const firstAccountCurrency = clientAccounts[tokens.acct1]
+ const firstAccountKey = tokens.acct1;
+ const firstAccountCurrency = clientAccounts[firstAccountKey]
63
? clientAccounts[firstAccountKey].currency
64
: null;
65
const selected_currency =
0 commit comments