aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/redux
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-10-26 06:51:05 +0800
committerGitHub <noreply@github.com>2018-10-26 06:51:05 +0800
commit4a96dbe085004be49dbbaa435d4552a9c920d823 (patch)
tree019dfc8d780970cd7ac2c7cfbcdc28d3c3dc5d0f /packages/instant/src/redux
parent11bc10a3ae80be178d89ff6c9fbf509a48deef7f (diff)
parent89e59cca28a86763519237ab9c6971600e200b5e (diff)
downloaddexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.gz
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.bz2
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.lz
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.xz
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.zst
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.zip
Merge pull request #1184 from 0xProject/feature/instant/view-processings-txn
[instant] View Processing Transaction
Diffstat (limited to 'packages/instant/src/redux')
-rw-r--r--packages/instant/src/redux/reducer.ts14
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/instant/src/redux/reducer.ts b/packages/instant/src/redux/reducer.ts
index c6a05ac52..25d0092b2 100644
--- a/packages/instant/src/redux/reducer.ts
+++ b/packages/instant/src/redux/reducer.ts
@@ -4,7 +4,15 @@ import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
import { assetMetaDataMap } from '../data/asset_meta_data_map';
-import { Asset, AssetMetaData, AsyncProcessState, DisplayStatus, Network, OrderState } from '../types';
+import {
+ Asset,
+ AssetMetaData,
+ AsyncProcessState,
+ DisplayStatus,
+ Network,
+ OrderProcessState,
+ OrderState,
+} from '../types';
import { assetUtils } from '../util/asset';
import { Action, ActionTypes } from './actions';
@@ -27,7 +35,7 @@ export const INITIAL_STATE: State = {
network: Network.Mainnet,
selectedAssetAmount: undefined,
assetMetaDataMap,
- buyOrderState: { processState: AsyncProcessState.NONE },
+ buyOrderState: { processState: OrderProcessState.NONE },
ethUsdPrice: undefined,
latestBuyQuote: undefined,
latestError: undefined,
@@ -106,7 +114,7 @@ export const reducer = (state: State = INITIAL_STATE, action: Action): State =>
...state,
latestBuyQuote: undefined,
quoteRequestState: AsyncProcessState.NONE,
- buyOrderState: { processState: AsyncProcessState.NONE },
+ buyOrderState: { processState: OrderProcessState.NONE },
selectedAssetAmount: undefined,
};
default: