diff options
author | Fabio Berger <me@fabioberger.com> | 2019-01-12 00:14:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2019-01-12 00:14:12 +0800 |
commit | 98579300c1f78d8c360fa960cc73ffacb1012e91 (patch) | |
tree | ab29e15e580820ad76dafa088926bec9998bb51c /packages/website/ts/components/dialogs/eth_weth_conversion_dialog.tsx | |
parent | 6fb2721294f5d25edb76cb6f9b34eb3e07212950 (diff) | |
parent | 2cf57a48dd2857dd5cf2f31f4c60dd47ae4d34a5 (diff) | |
download | dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.gz dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.bz2 dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.lz dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.xz dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.zst dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.zip |
merge development
Diffstat (limited to 'packages/website/ts/components/dialogs/eth_weth_conversion_dialog.tsx')
-rw-r--r-- | packages/website/ts/components/dialogs/eth_weth_conversion_dialog.tsx | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/packages/website/ts/components/dialogs/eth_weth_conversion_dialog.tsx b/packages/website/ts/components/dialogs/eth_weth_conversion_dialog.tsx index 9b9421f1a..5ca272b1a 100644 --- a/packages/website/ts/components/dialogs/eth_weth_conversion_dialog.tsx +++ b/packages/website/ts/components/dialogs/eth_weth_conversion_dialog.tsx @@ -111,20 +111,19 @@ export class EthWethConversionDialog extends React.Component< )} <div className="pt1" style={{ fontSize: 12 }}> <div className="left">1 ETH = 1 WETH</div> - {this.props.direction === Side.Receive && - this.state.isEthTokenBalanceLoaded && ( - <div - className="right" - onClick={this._onMaxClick.bind(this)} - style={{ - color: colors.darkBlue, - textDecoration: 'underline', - cursor: 'pointer', - }} - > - Max - </div> - )} + {this.props.direction === Side.Receive && this.state.isEthTokenBalanceLoaded && ( + <div + className="right" + onClick={this._onMaxClick.bind(this)} + style={{ + color: colors.darkBlue, + textDecoration: 'underline', + cursor: 'pointer', + }} + > + Max + </div> + )} </div> </div> </div> |