Compare commits

...

1 Commits

Author SHA1 Message Date
Bill He
5b71710cef
remove cexdeposit testflag 2024-01-30 11:07:37 -08:00
2 changed files with 1 additions and 6 deletions

View File

@ -26,10 +26,6 @@ class TestFlags {
get addressOverride():string { get addressOverride():string {
return this.queryParams.address; return this.queryParams.address;
} }
get showCEXDepositOption() {
return !!this.queryParams.cexdeposit;
}
} }
export const testFlags = new TestFlags(); export const testFlags = new TestFlags();

View File

@ -14,7 +14,6 @@ import { popoverMixins } from '@/styles/popoverMixins';
import { getTransferInputs } from '@/state/inputsSelectors'; import { getTransferInputs } from '@/state/inputsSelectors';
import { isTruthy } from '@/lib/isTruthy'; import { isTruthy } from '@/lib/isTruthy';
import { testFlags } from '@/lib/testFlags';
type ElementProps = { type ElementProps = {
label?: string; label?: string;
@ -63,7 +62,7 @@ export const SourceSelectMenu = ({
return ( return (
<SearchSelectMenu <SearchSelectMenu
items={[ items={[
exchangeItems.length > 0 && testFlags.showCEXDepositOption && { exchangeItems.length > 0 && {
group: 'exchanges', group: 'exchanges',
groupLabel: stringGetter({ key: STRING_KEYS.EXCHANGES }), groupLabel: stringGetter({ key: STRING_KEYS.EXCHANGES }),
items: exchangeItems, items: exchangeItems,