mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
put new collectibles related preferences behind feature flag (#12936)
This commit is contained in:
parent
eb4f051b23
commit
c29afd110b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user