aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-07 19:03:02 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-07 19:05:11 +0800
commit8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f (patch)
tree6b84e2f36a60514af5cf63dbf2c4806b8ef08c12 /packages/website/ts/components
parentdf5779b6d1a81f85b91c57fd2948ded91c1a07d7 (diff)
downloaddexon-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.tsx18
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 && (