aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-18 06:21:33 +0800
committerFabio Berger <me@fabioberger.com>2017-12-18 06:21:33 +0800
commit672c8acaca76851306276d0d03c5df0c75aa8bc6 (patch)
treefc1070dcc54d0cf0747ddce3d7c23b053b486930 /packages/website
parent681617480ab8323cc81e1fc1e7a4f31a84b8b548 (diff)
downloaddexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.tar
dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.tar.gz
dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.tar.bz2
dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.tar.lz
dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.tar.xz
dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.tar.zst
dexon-sol-tools-672c8acaca76851306276d0d03c5df0c75aa8bc6.zip
Fix linter errors
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/eth_wrappers.tsx6
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;