chore: run linter
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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: (
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user