Hide unsupported tabs by RSK (#2011)

* Hides unsupported tabs by RSK

* Allows swap
This commit is contained in:
Alejandro Cavallero 2018-07-06 12:13:26 -03:00 committed by Daniel Ternyak
parent 425655ee05
commit e5e5dd8274
1 changed files with 5 additions and 2 deletions

View File

@ -29,6 +29,7 @@ import {
} from 'config/dpaths';
import { makeExplorer } from 'utils/helpers';
import { StaticNetworksState } from './types';
import { TAB } from 'components/Header/components/constants';
const testnetDefaultGasPrice = {
min: 0.1,
@ -393,7 +394,8 @@ export const STATIC_NETWORKS_INITIAL_STATE: StaticNetworksState = {
min: 0.183,
max: 1.5,
initial: 0.183
}
},
unsupportedTabs: [TAB.ENS]
},
RSK_TESTNET: {
@ -419,7 +421,8 @@ export const STATIC_NETWORKS_INITIAL_STATE: StaticNetworksState = {
min: 0.183,
max: 1.5,
initial: 0.183
}
},
unsupportedTabs: [TAB.ENS]
},
GO: {