Compare commits

..
Author SHA1 Message Date
yujin512 c7e568f1c2 add strk icon and metadata 2024-02-20 15:05:11 -05:00
yujin512 1f6958e17b Update otherMarketParameters.json
add strk to parameters
2024-02-20 14:47:47 -05:00
yujin512 4b669664b3 Update otherMarketExchangeConfig.json
remove huobi, add kraken
2024-02-20 14:35:22 -05:00
yujin512 1287eace36 Update otherMarketExchangeConfig.json
add strk
2024-02-20 14:29:34 -05:00
2 changed files with 10 additions and 5 deletions
+4
View File
@@ -26,6 +26,10 @@ class TestFlags {
get showTradingRewards() {
return !!this.queryParams.tradingrewards;
}
get showCexWithdrawal() {
return !!this.queryParams.cexwithdrawal;
}
}
export const testFlags = new TestFlags();
@@ -63,11 +63,12 @@ export const SourceSelectMenu = ({
return (
<SearchSelectMenu
items={[
exchangeItems.length > 0 && {
group: 'exchanges',
groupLabel: stringGetter({ key: STRING_KEYS.EXCHANGES }),
items: exchangeItems,
},
exchangeItems.length > 0 &&
(testFlags.showCexWithdrawal || type === TransferType.deposit) && {
group: 'exchanges',
groupLabel: stringGetter({ key: STRING_KEYS.EXCHANGES }),
items: exchangeItems,
},
chainItems.length > 0 && {
group: 'chains',
groupLabel: stringGetter({ key: STRING_KEYS.CHAINS }),