Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 90cf704

Browse files
committed
minor fixes
1 parent 61a0433 commit 90cf704

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/botPage/common/const.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,10 @@ const config = {
238238
export async function updateConfigCurrencies(api = generateLiveApiInstance()) {
239239
try {
240240
const response = await api.getPayoutCurrencies();
241-
config.lists.CURRENCY = response.payout_currencies.map(c => {
242-
if (c === 'UST') c = 'USDT';
243-
return [c, c];
244-
});
241+
config.lists.CURRENCY = response.payout_currencies.map(c =>
242+
// if (c === 'UST') c = 'USDT';
243+
[c, c]
244+
);
245245
} catch (e) {
246246
config.lists.CURRENCY = ['USD', 'EUR', 'GBP', 'AUD', ...CRYPTO_CURRENCIES].map(c => [c, c]);
247247
}

0 commit comments

Comments
 (0)