diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-18 06:21:33 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-18 06:21:33 +0800 |
commit | 672c8acaca76851306276d0d03c5df0c75aa8bc6 (patch) | |
tree | fc1070dcc54d0cf0747ddce3d7c23b053b486930 | |
parent | 681617480ab8323cc81e1fc1e7a4f31a84b8b548 (diff) | |
download | dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.tar.gz dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.tar.zst dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.zip |
Fix linter errors
-rw-r--r-- | packages/website/ts/components/eth_wrappers.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/website/ts/components/eth_wrappers.tsx b/packages/website/ts/components/eth_wrappers.tsx index 1a223a05e..a10313597 100644 --- a/packages/website/ts/components/eth_wrappers.tsx +++ b/packages/website/ts/components/eth_wrappers.tsx @@ -268,7 +268,9 @@ export class EthWrappers extends React.Component<EthWrappersProps, EthWrappersSt const balanceInEthIfExists = isStateLoaded ? ZeroEx.toUnitAmount(outdatedEtherTokenState.balance, 18).toFixed(PRECISION) : undefined; - const onConversionSuccessful = this.onOutdatedConversionSuccessfulAsync.bind(this, outdatedWETHIfExists.address); + const onConversionSuccessful = this.onOutdatedConversionSuccessfulAsync.bind( + this, outdatedWETHIfExists.address, + ); const etherscanUrl = utils.getEtherScanLinkIfExists( outdatedWETHIfExists.address, this.props.networkId, EtherscanLinkSuffixes.address, ); @@ -384,7 +386,7 @@ export class EthWrappers extends React.Component<EthWrappersProps, EthWrappersSt const outdatedWETHAddresses = _.compact(_.map(configs.outdatedWrappedEthers, outdatedWrappedEtherByNetwork => { const outdatedWrappedEtherIfExists = outdatedWrappedEtherByNetwork[this.props.networkId]; if (_.isUndefined(outdatedWrappedEtherIfExists)) { - return undefined + return undefined; } const address = outdatedWrappedEtherIfExists.address; return address; |