From b65005db847b1dc6822319211d25c55d5dcfe788 Mon Sep 17 00:00:00 2001 From: Alex Donesky Date: Wed, 1 Dec 2021 16:10:24 -0600 Subject: [PATCH] put new collectibles related preferences behind feature flag (#12936) --- .../experimental-tab/experimental-tab.component.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/pages/settings/experimental-tab/experimental-tab.component.js b/ui/pages/settings/experimental-tab/experimental-tab.component.js index 63b3b61f6..1dc9cb549 100644 --- a/ui/pages/settings/experimental-tab/experimental-tab.component.js +++ b/ui/pages/settings/experimental-tab/experimental-tab.component.js @@ -53,6 +53,10 @@ export default class ExperimentalTab extends PureComponent { } renderCollectibleDetectionToggle() { + if (!process.env.COLLECTIBLES_V1) { + return null; + } + const { t } = this.context; const { useCollectibleDetection, @@ -93,6 +97,9 @@ export default class ExperimentalTab extends PureComponent { } renderOpenSeaEnabledToggle() { + if (!process.env.COLLECTIBLES_V1) { + return null; + } const { t } = this.context; const { openSeaEnabled, setOpenSeaEnabled } = this.props;