diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-28 01:40:07 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-28 01:40:07 +0800 |
commit | 2a092143dc01d84e5dc0b6dc2998cfd4efb38d73 (patch) | |
tree | 2692a23094cc073771892e34cd1e994eeedeaaa0 /packages/website/ts/components/dialogs | |
parent | de50407953d36ae43f909ad8b3b5e249151bdb51 (diff) | |
download | dexon-0x-contracts-2a092143dc01d84e5dc0b6dc2998cfd4efb38d73.tar dexon-0x-contracts-2a092143dc01d84e5dc0b6dc2998cfd4efb38d73.tar.gz dexon-0x-contracts-2a092143dc01d84e5dc0b6dc2998cfd4efb38d73.tar.bz2 dexon-0x-contracts-2a092143dc01d84e5dc0b6dc2998cfd4efb38d73.tar.lz dexon-0x-contracts-2a092143dc01d84e5dc0b6dc2998cfd4efb38d73.tar.xz dexon-0x-contracts-2a092143dc01d84e5dc0b6dc2998cfd4efb38d73.tar.zst dexon-0x-contracts-2a092143dc01d84e5dc0b6dc2998cfd4efb38d73.zip |
Remove IS_MAINNET_ENABLED config
Diffstat (limited to 'packages/website/ts/components/dialogs')
-rw-r--r-- | packages/website/ts/components/dialogs/blockchain_err_dialog.tsx | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/packages/website/ts/components/dialogs/blockchain_err_dialog.tsx b/packages/website/ts/components/dialogs/blockchain_err_dialog.tsx index b968a3147..d3d53d30c 100644 --- a/packages/website/ts/components/dialogs/blockchain_err_dialog.tsx +++ b/packages/website/ts/components/dialogs/blockchain_err_dialog.tsx @@ -125,8 +125,7 @@ export class BlockchainErrDialog extends React.Component<BlockchainErrDialogProp Parity Signer Chrome extension </a>{' '} lets you connect to a locally running Parity node. Make sure you have started your local Parity node - with {configs.IS_MAINNET_ENABLED && '`parity ui` or'} `parity --chain kovan ui` in order to connect - to {configs.IS_MAINNET_ENABLED ? 'mainnet or Kovan respectively.' : 'Kovan.'} + with `parity ui` or `parity --chain kovan ui` in order to connect to mainnet or Kovan respectively. </div> <div className="pt2"> <span className="bold">Note:</span> If you have done one of the above steps and are still seeing @@ -142,10 +141,8 @@ export class BlockchainErrDialog extends React.Component<BlockchainErrDialogProp <div> The 0x smart contracts are not deployed on the Ethereum network you are currently connected to (network Id: {this.props.networkId}). In order to use the 0x portal dApp, please connect to the{' '} - {Networks.Kovan} testnet (network Id: {constants.NETWORK_ID_KOVAN}) - {configs.IS_MAINNET_ENABLED - ? ` or ${constants.MAINNET_NAME} (network Id: ${constants.NETWORK_ID_MAINNET}).` - : `.`} + {Networks.Kovan} testnet (network Id: {constants.NETWORK_ID_KOVAN}) or ${constants.MAINNET_NAME}{' '} + (network Id: ${constants.NETWORK_ID_MAINNET}). </div> <h4>Metamask</h4> <div> @@ -159,11 +156,8 @@ export class BlockchainErrDialog extends React.Component<BlockchainErrDialogProp If using the{' '} <a href={constants.URL_PARITY_CHROME_STORE} target="_blank"> Parity Signer Chrome extension - </a>, make sure to start your local Parity node with{' '} - {configs.IS_MAINNET_ENABLED - ? '`parity ui` or `parity --chain Kovan ui` in order to connect to mainnet \ - or Kovan respectively.' - : '`parity --chain kovan ui` in order to connect to Kovan.'} + </a>, make sure to start your local Parity node with `parity ui` or `parity --chain Kovan ui` in + order to connect to mainnet \ or Kovan respectively. </div> </div> ); |