diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-09-07 19:03:02 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-09-07 19:05:11 +0800 |
commit | 8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f (patch) | |
tree | 6b84e2f36a60514af5cf63dbf2c4806b8ef08c12 /packages/website/ts/components | |
parent | df5779b6d1a81f85b91c57fd2948ded91c1a07d7 (diff) | |
download | dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.gz dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.bz2 dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.lz dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.xz dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.zst dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.zip |
Fix minting for new tokens on testnets
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/token_balances.tsx | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/packages/website/ts/components/token_balances.tsx b/packages/website/ts/components/token_balances.tsx index 7e7a8d1fa..5965ad9bd 100644 --- a/packages/website/ts/components/token_balances.tsx +++ b/packages/website/ts/components/token_balances.tsx @@ -337,14 +337,8 @@ export class TokenBalances extends React.Component<TokenBalancesProps, TokenBala const isMintable = (_.includes(configs.SYMBOLS_OF_MINTABLE_KOVAN_TOKENS, token.symbol) && this.props.networkId === sharedConstants.NETWORK_ID_BY_NAME[Networks.Kovan]) || - (_.includes(configs.SYMBOLS_OF_MINTABLE_RINKEBY_ROPSTEN_TOKENS, token.symbol) && - _.includes( - [ - sharedConstants.NETWORK_ID_BY_NAME[Networks.Rinkeby], - sharedConstants.NETWORK_ID_BY_NAME[Networks.Ropsten], - ], - this.props.networkId, - )); + (_.includes(configs.SYMBOLS_OF_MINTABLE_ROPSTEN_TOKENS, token.symbol) && + this.props.networkId === sharedConstants.NETWORK_ID_BY_NAME[Networks.Ropsten]); return ( <TableRow key={token.address} style={{ height: TOKEN_TABLE_ROW_HEIGHT }}> <TableRowColumn colSpan={tokenColSpan}> @@ -392,14 +386,6 @@ export class TokenBalances extends React.Component<TokenBalancesProps, TokenBala onClickAsyncFn={this._onMintTestTokensAsync.bind(this, token)} /> )} - {token.symbol === ZRX_TOKEN_SYMBOL && ( - <LifeCycleRaisedButton - labelReady="Request" - labelLoading="Sending..." - labelComplete="Sent!" - onClickAsyncFn={this._faucetRequestAsync.bind(this, false)} - /> - )} </TableRowColumn> )} {this.props.screenWidth !== ScreenWidths.Sm && ( |