diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-02 07:32:14 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-02 07:32:14 +0800 |
commit | a2e1bf0e6287e86c226b0801311f6f4498c893ed (patch) | |
tree | 5c03514c0d0afce1aba61341c079822030e0ece0 /packages/instant/src/redux/actions.ts | |
parent | 7c30fd4b2da83c9522f9137f4d18e6c308f2b66f (diff) | |
download | dexon-sol-tools-a2e1bf0e6287e86c226b0801311f6f4498c893ed.tar dexon-sol-tools-a2e1bf0e6287e86c226b0801311f6f4498c893ed.tar.gz dexon-sol-tools-a2e1bf0e6287e86c226b0801311f6f4498c893ed.tar.bz2 dexon-sol-tools-a2e1bf0e6287e86c226b0801311f6f4498c893ed.tar.lz dexon-sol-tools-a2e1bf0e6287e86c226b0801311f6f4498c893ed.tar.xz dexon-sol-tools-a2e1bf0e6287e86c226b0801311f6f4498c893ed.tar.zst dexon-sol-tools-a2e1bf0e6287e86c226b0801311f6f4498c893ed.zip |
Getting rid of BigNumberInput in favor of BigNumber
Diffstat (limited to 'packages/instant/src/redux/actions.ts')
-rw-r--r-- | packages/instant/src/redux/actions.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/instant/src/redux/actions.ts b/packages/instant/src/redux/actions.ts index bfae68e2b..a0781db19 100644 --- a/packages/instant/src/redux/actions.ts +++ b/packages/instant/src/redux/actions.ts @@ -2,8 +2,6 @@ import { BuyQuote } from '@0x/asset-buyer'; import { BigNumber } from '@0x/utils'; import * as _ from 'lodash'; -import { BigNumberInput } from '../util/big_number_input'; - import { ActionsUnion, OrderState } from '../types'; export interface PlainAction<T extends string> { @@ -38,8 +36,7 @@ export enum ActionTypes { export const actions = { updateEthUsdPrice: (price?: BigNumber) => createAction(ActionTypes.UPDATE_ETH_USD_PRICE, price), - updateSelectedAssetAmount: (amount?: BigNumberInput) => - createAction(ActionTypes.UPDATE_SELECTED_ASSET_AMOUNT, amount), + updateSelectedAssetAmount: (amount?: BigNumber) => createAction(ActionTypes.UPDATE_SELECTED_ASSET_AMOUNT, amount), updateBuyOrderState: (orderState: OrderState) => createAction(ActionTypes.UPDATE_BUY_ORDER_STATE, orderState), updateLatestBuyQuote: (buyQuote?: BuyQuote) => createAction(ActionTypes.UPDATE_LATEST_BUY_QUOTE, buyQuote), updateSelectedAsset: (assetData?: string) => createAction(ActionTypes.UPDATE_SELECTED_ASSET, assetData), |