diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-27 01:02:16 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-27 01:02:16 +0800 |
commit | 1494a70badaafbd0a52f63dae6f26232cf556526 (patch) | |
tree | 512f3c32224031992eb9380ebcf664cc4292b99e /packages/instant/src/redux/async_data.ts | |
parent | d750225554a0c4c317863cf11a7db5b1570e5b41 (diff) | |
parent | 6d565f4bff38b12515f4d8f0e29cdc223c12d1fb (diff) | |
download | dexon-0x-contracts-1494a70badaafbd0a52f63dae6f26232cf556526.tar.gz dexon-0x-contracts-1494a70badaafbd0a52f63dae6f26232cf556526.tar.zst dexon-0x-contracts-1494a70badaafbd0a52f63dae6f26232cf556526.zip |
Merge branch 'development' into feature/instant/open-close-events
Diffstat (limited to 'packages/instant/src/redux/async_data.ts')
-rw-r--r-- | packages/instant/src/redux/async_data.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/redux/async_data.ts b/packages/instant/src/redux/async_data.ts index 5d30388b8..6feb760e7 100644 --- a/packages/instant/src/redux/async_data.ts +++ b/packages/instant/src/redux/async_data.ts @@ -5,6 +5,7 @@ import { Dispatch } from 'redux'; import { BIG_NUMBER_ZERO } from '../constants'; import { AccountState, ERC20Asset, OrderProcessState, ProviderState } from '../types'; +import { analytics } from '../util/analytics'; import { assetUtils } from '../util/asset'; import { buyQuoteUpdater } from '../util/buy_quote_updater'; import { coinbaseApi } from '../util/coinbase_api'; @@ -58,6 +59,7 @@ export const asyncData = { ? await (provider as any).enable() : await web3Wrapper.getAvailableAddressesAsync(); } catch (e) { + analytics.trackAccountUnlockDenied(); dispatch(actions.setAccountStateLocked()); return; } |