1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

put new collectibles related preferences behind feature flag (#12936)

This commit is contained in:
Alex Donesky 2021-12-01 16:10:24 -06:00 committed by Dan Miller
parent 3cff801b8e
commit b65005db84

View File

@ -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;