aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;