Compare commits
1 Commits
main
...
enable-cex
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b71710cef |
@ -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();
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user