From 7fc1a88680e85c5ab1a1ef7ba5eb1bc223614493 Mon Sep 17 00:00:00 2001 From: fragosti Date: Thu, 1 Nov 2018 13:34:23 -0700 Subject: fix: better name method --- packages/instant/src/components/erc20_asset_amount_input.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/instant/src/components/erc20_asset_amount_input.tsx b/packages/instant/src/components/erc20_asset_amount_input.tsx index e222bc576..05b81e93d 100644 --- a/packages/instant/src/components/erc20_asset_amount_input.tsx +++ b/packages/instant/src/components/erc20_asset_amount_input.tsx @@ -48,7 +48,7 @@ export class ERC20AssetAmountInput extends React.Component { const { onChange, ...rest } = this.props; const amountBorderBottom = this.props.isDisabled ? '' : `1px solid ${transparentWhite}`; - const onSymbolClick = this._generateSelectAssetClick(); + const onSymbolClick = this._generateSelectAssetClickHandler(); return ( @@ -95,7 +95,7 @@ export class ERC20AssetAmountInput extends React.Component {text} @@ -109,7 +109,7 @@ export class ERC20AssetAmountInput extends React.Component + ); @@ -123,7 +123,7 @@ export class ERC20AssetAmountInput extends React.Component void) | undefined => { + private readonly _generateSelectAssetClickHandler = (): (() => void) | undefined => { const { numberOfAssetsAvailable } = this.props; if (_.isUndefined(numberOfAssetsAvailable) || numberOfAssetsAvailable <= 1) { return undefined; -- cgit v1.2.3