diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-11-10 08:21:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-10 08:21:32 +0800 |
commit | 397b4e289015f9bb0831c1a0ce6fee601670b487 (patch) | |
tree | 43fe5262fbe6e2ee4e9b19e34ac6784f9eab1a7b /packages/instant/src/redux/reducer.ts | |
parent | 26cbe7ae6646d97c286e58756c23a93de32ae37b (diff) | |
parent | 38896c9358c07d722b2a24d458e6c949b802fa37 (diff) | |
download | dexon-0x-contracts-397b4e289015f9bb0831c1a0ce6fee601670b487.tar dexon-0x-contracts-397b4e289015f9bb0831c1a0ce6fee601670b487.tar.gz dexon-0x-contracts-397b4e289015f9bb0831c1a0ce6fee601670b487.tar.bz2 dexon-0x-contracts-397b4e289015f9bb0831c1a0ce6fee601670b487.tar.lz dexon-0x-contracts-397b4e289015f9bb0831c1a0ce6fee601670b487.tar.xz dexon-0x-contracts-397b4e289015f9bb0831c1a0ce6fee601670b487.tar.zst dexon-0x-contracts-397b4e289015f9bb0831c1a0ce6fee601670b487.zip |
Merge pull request #1239 from 0xProject/feature/instant/privacy-mode
[instant] Handle privacy mode in wallets
Diffstat (limited to 'packages/instant/src/redux/reducer.ts')
-rw-r--r-- | packages/instant/src/redux/reducer.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/instant/src/redux/reducer.ts b/packages/instant/src/redux/reducer.ts index a5a1b6f7d..ef46fdd9d 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, @@ -65,8 +65,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, |