aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/redux
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-31 07:43:58 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-31 07:43:58 +0800
commit9787d1085da225ac3180983065f63d26a6bab3e6 (patch)
tree55892cba39d48ff1f9605dec27ce325e8623ddb1 /packages/instant/src/redux
parent1c0569cfc61d7b166d79d2d73e9bbc6d11a5b4e8 (diff)
downloaddexon-sol-tools-9787d1085da225ac3180983065f63d26a6bab3e6.tar
dexon-sol-tools-9787d1085da225ac3180983065f63d26a6bab3e6.tar.gz
dexon-sol-tools-9787d1085da225ac3180983065f63d26a6bab3e6.tar.bz2
dexon-sol-tools-9787d1085da225ac3180983065f63d26a6bab3e6.tar.lz
dexon-sol-tools-9787d1085da225ac3180983065f63d26a6bab3e6.tar.xz
dexon-sol-tools-9787d1085da225ac3180983065f63d26a6bab3e6.tar.zst
dexon-sol-tools-9787d1085da225ac3180983065f63d26a6bab3e6.zip
Get rid of old demo
Diffstat (limited to 'packages/instant/src/redux')
-rw-r--r--packages/instant/src/redux/actions.ts3
-rw-r--r--packages/instant/src/redux/reducer.ts6
2 files changed, 0 insertions, 9 deletions
diff --git a/packages/instant/src/redux/actions.ts b/packages/instant/src/redux/actions.ts
index c27c188bf..61c273510 100644
--- a/packages/instant/src/redux/actions.ts
+++ b/packages/instant/src/redux/actions.ts
@@ -28,7 +28,6 @@ export enum ActionTypes {
UPDATE_BUY_ORDER_STATE = 'UPDATE_BUY_ORDER_STATE',
UPDATE_LATEST_BUY_QUOTE = 'UPDATE_LATEST_BUY_QUOTE',
UPDATE_SELECTED_ASSET = 'UPDATE_SELECTED_ASSET',
- UPDATE_SIMULATED_ORDER_PROGRESS = 'UPDATE_SIMULATED_ORDER_PROGRESS',
SET_QUOTE_REQUEST_STATE_PENDING = 'SET_QUOTE_REQUEST_STATE_PENDING',
SET_QUOTE_REQUEST_STATE_FAILURE = 'SET_QUOTE_REQUEST_STATE_FAILURE',
SET_ERROR_MESSAGE = 'SET_ERROR_MESSAGE',
@@ -44,8 +43,6 @@ export const actions = {
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),
- updateSimulatedOrderProgress: (orderProgress: SimulatedProgress) =>
- createAction(ActionTypes.UPDATE_SIMULATED_ORDER_PROGRESS, orderProgress),
setQuoteRequestStatePending: () => createAction(ActionTypes.SET_QUOTE_REQUEST_STATE_PENDING),
setQuoteRequestStateFailure: () => createAction(ActionTypes.SET_QUOTE_REQUEST_STATE_FAILURE),
setErrorMessage: (errorMessage: string) => createAction(ActionTypes.SET_ERROR_MESSAGE, errorMessage),
diff --git a/packages/instant/src/redux/reducer.ts b/packages/instant/src/redux/reducer.ts
index 3540bd4eb..35c0ceee6 100644
--- a/packages/instant/src/redux/reducer.ts
+++ b/packages/instant/src/redux/reducer.ts
@@ -32,7 +32,6 @@ export interface State {
quoteRequestState: AsyncProcessState;
latestErrorMessage?: string;
latestErrorDisplayStatus: DisplayStatus;
- simulatedProgress?: SimulatedProgress;
}
export const INITIAL_STATE: State = {
@@ -121,11 +120,6 @@ export const reducer = (state: State = INITIAL_STATE, action: Action): State =>
...state,
selectedAsset: newSelectedAsset,
};
- case ActionTypes.UPDATE_SIMULATED_ORDER_PROGRESS:
- return {
- ...state,
- simulatedProgress: action.data,
- };
case ActionTypes.RESET_AMOUNT:
return {
...state,