diff options
author | Fabio Berger <me@fabioberger.com> | 2018-01-31 03:45:09 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-01-31 03:45:09 +0800 |
commit | 16ea0348a9776c99bf50013fca65deb2ba2d698e (patch) | |
tree | cfe98e292ad2cfc80e70a981ea10a8536283df10 /packages/website/ts/components/inputs | |
parent | 57acb8db5c48df994f106f8e4b369f7e780f7c9c (diff) | |
download | dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.gz dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.bz2 dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.lz dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.xz dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.zst dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.zip |
Fix linter errors
Diffstat (limited to 'packages/website/ts/components/inputs')
-rw-r--r-- | packages/website/ts/components/inputs/token_amount_input.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/components/inputs/token_amount_input.tsx b/packages/website/ts/components/inputs/token_amount_input.tsx index 9078f7fe1..2b167d875 100644 --- a/packages/website/ts/components/inputs/token_amount_input.tsx +++ b/packages/website/ts/components/inputs/token_amount_input.tsx @@ -5,7 +5,7 @@ import * as React from 'react'; import { Link } from 'react-router-dom'; import { Blockchain } from 'ts/blockchain'; import { BalanceBoundedInput } from 'ts/components/inputs/balance_bounded_input'; -import { InputErrMsg, Token, TokenState, ValidatedBigNumberCallback, WebsitePaths } from 'ts/types'; +import { InputErrMsg, Token, ValidatedBigNumberCallback, WebsitePaths } from 'ts/types'; import { colors } from 'ts/utils/colors'; interface TokenAmountInputProps { @@ -55,6 +55,7 @@ export class TokenAmountInput extends React.Component<TokenAmountInputProps, Tok nextProps.token.address !== this.props.token.address || nextProps.lastForceTokenStateRefetch !== this.props.lastForceTokenStateRefetch ) { + // tslint:disable-next-line:no-floating-promises this._fetchBalanceAndAllowanceAsync(nextProps.token.address, nextProps.userAddress); } } |