Fix linting errors
This commit is contained in:
@@ -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">
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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';
|
||||
|
Reference in New Issue
Block a user