diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-05 10:32:33 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-05 10:32:33 +0800 |
commit | d7b6d8222f459942f82338fee752d03fe2d1547a (patch) | |
tree | 6f258046460155914886abd68f7059aca7d3a779 /packages/instant/src/components/amount_input.tsx | |
parent | 1eb8d17ce36274093583069aab0025768a4a91ce (diff) | |
download | dexon-sol-tools-d7b6d8222f459942f82338fee752d03fe2d1547a.tar dexon-sol-tools-d7b6d8222f459942f82338fee752d03fe2d1547a.tar.gz dexon-sol-tools-d7b6d8222f459942f82338fee752d03fe2d1547a.tar.bz2 dexon-sol-tools-d7b6d8222f459942f82338fee752d03fe2d1547a.tar.lz dexon-sol-tools-d7b6d8222f459942f82338fee752d03fe2d1547a.tar.xz dexon-sol-tools-d7b6d8222f459942f82338fee752d03fe2d1547a.tar.zst dexon-sol-tools-d7b6d8222f459942f82338fee752d03fe2d1547a.zip |
Apply linter
Diffstat (limited to 'packages/instant/src/components/amount_input.tsx')
-rw-r--r-- | packages/instant/src/components/amount_input.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/components/amount_input.tsx b/packages/instant/src/components/amount_input.tsx index 8fead78ca..2b64469f6 100644 --- a/packages/instant/src/components/amount_input.tsx +++ b/packages/instant/src/components/amount_input.tsx @@ -4,7 +4,7 @@ import * as React from 'react'; import { ColorOption } from '../style/theme'; -import { Container, Flex, Input, Text } from './ui'; +import { Container, Input } from './ui'; export interface AmountInputProps { fontColor?: ColorOption; @@ -29,10 +29,10 @@ export class AmountInput extends React.Component<AmountInputProps> { </Container> ); } - private _handleChange = (event: React.ChangeEvent<HTMLInputElement>): void => { + private readonly _handleChange = (event: React.ChangeEvent<HTMLInputElement>): void => { const bigNumberValue = new BigNumber(event.target.value); if (!_.isUndefined(this.props.onChange)) { this.props.onChange(bigNumberValue); } - }; + } } |