aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-25 03:57:20 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-25 03:57:20 +0800
commitc5554fe30c199155d4e020028aa4aa1f808918b9 (patch)
tree8a214d474ce548e47f3c9ed1b564b100c2da507a /packages
parent6da6540c038640abf75f703a294cb758c6defc47 (diff)
downloaddexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.gz
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.bz2
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.lz
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.xz
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.zst
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.zip
chore: run linter
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/src/components/asset_amount_input.tsx2
-rw-r--r--packages/instant/src/util/asset.ts2
-rw-r--r--packages/instant/src/util/big_number.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/components/asset_amount_input.tsx b/packages/instant/src/components/asset_amount_input.tsx
index 960b8bc95..4d2dc0bd8 100644
--- a/packages/instant/src/components/asset_amount_input.tsx
+++ b/packages/instant/src/components/asset_amount_input.tsx
@@ -8,7 +8,7 @@ import { assetUtils } from '../util/asset';
import { util } from '../util/util';
import { ScalingAmountInput } from './scaling_amount_input';
-import { Container, Flex, Text } from './ui';
+import { Container, Text } from './ui';
// Asset amounts only apply to ERC20 assets
export interface AssetAmountInputProps {
diff --git a/packages/instant/src/util/asset.ts b/packages/instant/src/util/asset.ts
index ebeba948e..e42727d84 100644
--- a/packages/instant/src/util/asset.ts
+++ b/packages/instant/src/util/asset.ts
@@ -2,7 +2,7 @@ import { AssetProxyId, ObjectMap } from '@0x/types';
import * as _ from 'lodash';
import { assetDataNetworkMapping } from '../data/asset_data_network_mapping';
-import { Asset, AssetMetaData, Network, ZeroExInstantError, ERC20Asset } from '../types';
+import { Asset, AssetMetaData, ERC20Asset, Network, ZeroExInstantError } from '../types';
export const assetUtils = {
createAssetFromAssetData: (
diff --git a/packages/instant/src/util/big_number.ts b/packages/instant/src/util/big_number.ts
index 773eb0cb4..a34d22d76 100644
--- a/packages/instant/src/util/big_number.ts
+++ b/packages/instant/src/util/big_number.ts
@@ -9,7 +9,7 @@ import * as _ from 'lodash';
* new BigNumberInput(1..) => still throws
*/
export class BigNumberInput extends BigNumber {
- private _hasDecimalPeriod: boolean;
+ private readonly _hasDecimalPeriod: boolean;
constructor(bigNumberString: string) {
const hasDecimalPeriod = _.endsWith(bigNumberString, '.');
let internalString = bigNumberString;