From d7b6d8222f459942f82338fee752d03fe2d1547a Mon Sep 17 00:00:00 2001 From: fragosti Date: Thu, 4 Oct 2018 19:32:33 -0700 Subject: Apply linter --- .../instant/src/containers/selected_asset_amount_input.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/instant/src/containers') diff --git a/packages/instant/src/containers/selected_asset_amount_input.tsx b/packages/instant/src/containers/selected_asset_amount_input.tsx index f5e1e134a..818caa965 100644 --- a/packages/instant/src/containers/selected_asset_amount_input.tsx +++ b/packages/instant/src/containers/selected_asset_amount_input.tsx @@ -1,5 +1,4 @@ import { BigNumber } from '@0xproject/utils'; -import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as React from 'react'; import { connect } from 'react-redux'; import { Dispatch } from 'redux'; @@ -8,7 +7,7 @@ import { State } from '../redux/reducer'; import { ColorOption } from '../style/theme'; import { Action, ActionTypes } from '../types'; -import { AmountInput, AmountInputProps } from '../components/amount_input'; +import { AmountInput } from '../components/amount_input'; export interface SelectedAssetAmountInputProps { fontColor?: ColorOption; @@ -31,6 +30,7 @@ const mapDispatchToProps = (dispatch: Dispatch): ConnectedDispatch => ({ onChange: value => dispatch({ type: ActionTypes.UPDATE_SELECTED_ASSET_AMOUNT, data: value }), }); -export const SelectedAssetAmountInput: React.ComponentClass = connect(mapStateToProps)( - AmountInput, -); +export const SelectedAssetAmountInput: React.ComponentClass = connect( + mapStateToProps, + mapDispatchToProps, +)(AmountInput); -- cgit v1.2.3