Compare commits

...
Author SHA1 Message Date
Bill He 6d5d31ef74 Remove CEX withdraw testflag 2024-02-20 14:56:19 -08:00
2 changed files with 5 additions and 10 deletions
-4
View File
@@ -26,10 +26,6 @@ class TestFlags {
get showTradingRewards() { get showTradingRewards() {
return !!this.queryParams.tradingrewards; return !!this.queryParams.tradingrewards;
} }
get showCexWithdrawal() {
return !!this.queryParams.cexwithdrawal;
}
} }
export const testFlags = new TestFlags(); export const testFlags = new TestFlags();
@@ -63,8 +63,7 @@ export const SourceSelectMenu = ({
return ( return (
<SearchSelectMenu <SearchSelectMenu
items={[ items={[
exchangeItems.length > 0 && exchangeItems.length > 0 && {
(testFlags.showCexWithdrawal || type === TransferType.deposit) && {
group: 'exchanges', group: 'exchanges',
groupLabel: stringGetter({ key: STRING_KEYS.EXCHANGES }), groupLabel: stringGetter({ key: STRING_KEYS.EXCHANGES }),
items: exchangeItems, items: exchangeItems,