remove cexdeposit testflag

This commit is contained in:
Bill He 2024-01-30 11:07:37 -08:00
parent 91f5b89eb6
commit 5b71710cef
No known key found for this signature in database
GPG Key ID: 73AEEF9D79E5BBF8
2 changed files with 1 additions and 6 deletions

View File

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

View File

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