Fix linting errors

This commit is contained in:
fragosti
2019-04-19 12:28:28 -05:00
parent de62a0f8ed
commit 028f54fdf0
4 changed files with 4 additions and 6 deletions

View File

@@ -33,7 +33,6 @@ const ICON_COLOR = ColorOption.white;
export class InstantHeading extends React.PureComponent<InstantHeadingProps, {}> {
public render(): React.ReactNode {
const { selectedAsset } = this.props;
return this._renderAssetHeadingContent();
}
@@ -50,7 +49,7 @@ export class InstantHeading extends React.PureComponent<InstantHeadingProps, {}>
}
return null;
}
// tslint:disable-next-line:prefer-function-over-method
private _renderERC721AssetHeading(asset: ERC721Asset): React.ReactNode {
return (
<Container width="100%" padding="30px 0px 0px">

View File

@@ -1,6 +1,6 @@
import * as React from 'react';
import { ColorOption, styled } from '../../style/theme';
import { styled } from '../../style/theme';
export interface ImageProps extends React.HTMLAttributes<HTMLImageElement> {
rounded?: boolean;

View File

@@ -1,3 +1,4 @@
import { AssetProxyId } from '@0x/types';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
import * as React from 'react';
@@ -18,7 +19,6 @@ import { gasPriceEstimator } from '../util/gas_price_estimator';
import { Heartbeater } from '../util/heartbeater';
import { generateAccountHeartbeater, generateBuyQuoteHeartbeater } from '../util/heartbeater_factory';
import { providerStateFactory } from '../util/provider_state_factory';
import { AssetProxyId } from '@0x/types';
export type ZeroExInstantProviderProps = ZeroExInstantBaseConfig;

View File

@@ -1,10 +1,9 @@
import { AssetProxyId } from '@0x/types';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash';
import { Dispatch } from 'redux';
import { BIG_NUMBER_ZERO } from '../constants';
import { AccountState, BaseCurrency, ERC20Asset, OrderProcessState, ProviderState, QuoteFetchOrigin } from '../types';
import { AccountState, BaseCurrency, OrderProcessState, ProviderState, QuoteFetchOrigin } from '../types';
import { analytics } from '../util/analytics';
import { assetUtils } from '../util/asset';
import { buyQuoteUpdater } from '../util/buy_quote_updater';