aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/redux/reducer.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-10 08:22:36 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-10 08:22:36 +0800
commitff027ee36a5c2384004c9b55baa42919b5d9fa65 (patch)
tree72300769affc9d33f5c8ef32aadd1b8cc31f98d6 /packages/instant/src/redux/reducer.ts
parentba292ead45f451e4d7d2fac74582b8406cd4a586 (diff)
parent397b4e289015f9bb0831c1a0ce6fee601670b487 (diff)
downloaddexon-sol-tools-ff027ee36a5c2384004c9b55baa42919b5d9fa65.tar
dexon-sol-tools-ff027ee36a5c2384004c9b55baa42919b5d9fa65.tar.gz
dexon-sol-tools-ff027ee36a5c2384004c9b55baa42919b5d9fa65.tar.bz2
dexon-sol-tools-ff027ee36a5c2384004c9b55baa42919b5d9fa65.tar.lz
dexon-sol-tools-ff027ee36a5c2384004c9b55baa42919b5d9fa65.tar.xz
dexon-sol-tools-ff027ee36a5c2384004c9b55baa42919b5d9fa65.tar.zst
dexon-sol-tools-ff027ee36a5c2384004c9b55baa42919b5d9fa65.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/metamask-connect-flow
Diffstat (limited to 'packages/instant/src/redux/reducer.ts')
-rw-r--r--packages/instant/src/redux/reducer.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/instant/src/redux/reducer.ts b/packages/instant/src/redux/reducer.ts
index a542979cb..4688250bc 100644
--- a/packages/instant/src/redux/reducer.ts
+++ b/packages/instant/src/redux/reducer.ts
@@ -4,7 +4,7 @@ import { BigNumber } from '@0x/utils';
import { Web3Wrapper } from '@0x/web3-wrapper';
import * as _ from 'lodash';
-import { ERROR_ACCOUNT, LOADING_ACCOUNT, LOCKED_ACCOUNT } from '../constants';
+import { LOADING_ACCOUNT, LOCKED_ACCOUNT } from '../constants';
import { assetMetaDataMap } from '../data/asset_meta_data_map';
import {
Account,
@@ -72,8 +72,6 @@ export const createReducer = (initialState: State) => {
return reduceStateWithAccount(state, LOADING_ACCOUNT);
case ActionTypes.SET_ACCOUNT_STATE_LOCKED:
return reduceStateWithAccount(state, LOCKED_ACCOUNT);
- case ActionTypes.SET_ACCOUNT_STATE_ERROR:
- return reduceStateWithAccount(state, ERROR_ACCOUNT);
case ActionTypes.SET_ACCOUNT_STATE_READY: {
const account: AccountReady = {
state: AccountState.Ready,