aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/redux/async_data.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-27 01:02:16 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-27 01:02:16 +0800
commit1494a70badaafbd0a52f63dae6f26232cf556526 (patch)
tree512f3c32224031992eb9380ebcf664cc4292b99e /packages/instant/src/redux/async_data.ts
parentd750225554a0c4c317863cf11a7db5b1570e5b41 (diff)
parent6d565f4bff38b12515f4d8f0e29cdc223c12d1fb (diff)
downloaddexon-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.ts2
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;
}