diff options
author | Leonid <logvinov.leon@gmail.com> | 2018-01-03 18:39:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 18:39:08 +0800 |
commit | d5e0da0eb64ab25cb8e03a61040702cf8e02391a (patch) | |
tree | a7fde03873f3c1b8689d3991edbb362f8022e5f0 /packages/website/ts/components/inputs/allowance_toggle.tsx | |
parent | f684cc371104b594358fb8cd274e453c81f48881 (diff) | |
parent | e744e4cd989bd3ae1070c59f7baa8097f18b8b06 (diff) | |
download | dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.gz dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.bz2 dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.lz dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.xz dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.zst dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.zip |
Merge pull request #291 from 0xProject/feature/prettier
Use prettier
Diffstat (limited to 'packages/website/ts/components/inputs/allowance_toggle.tsx')
-rw-r--r-- | packages/website/ts/components/inputs/allowance_toggle.tsx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/website/ts/components/inputs/allowance_toggle.tsx b/packages/website/ts/components/inputs/allowance_toggle.tsx index 2404a1e31..05da03f86 100644 --- a/packages/website/ts/components/inputs/allowance_toggle.tsx +++ b/packages/website/ts/components/inputs/allowance_toggle.tsx @@ -2,11 +2,11 @@ import BigNumber from 'bignumber.js'; import * as _ from 'lodash'; import Toggle from 'material-ui/Toggle'; import * as React from 'react'; -import {Blockchain} from 'ts/blockchain'; -import {Dispatcher} from 'ts/redux/dispatcher'; -import {BalanceErrs, Token, TokenState} from 'ts/types'; -import {errorReporter} from 'ts/utils/error_reporter'; -import {utils} from 'ts/utils/utils'; +import { Blockchain } from 'ts/blockchain'; +import { Dispatcher } from 'ts/redux/dispatcher'; +import { BalanceErrs, Token, TokenState } from 'ts/types'; +import { errorReporter } from 'ts/utils/error_reporter'; +import { utils } from 'ts/utils/utils'; const DEFAULT_ALLOWANCE_AMOUNT_IN_BASE_UNITS = new BigNumber(2).pow(256).minus(1); @@ -50,11 +50,11 @@ export class AllowanceToggle extends React.Component<AllowanceToggleProps, Allow onToggle={this._onToggleAllowanceAsync.bind(this, this.props.token)} /> </div> - {this.state.isSpinnerVisible && - <div className="pl1" style={{paddingTop: 3}}> + {this.state.isSpinnerVisible && ( + <div className="pl1" style={{ paddingTop: 3 }}> <i className="zmdi zmdi-spinner zmdi-hc-spin" /> </div> - } + )} </div> ); } |