diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-17 01:20:44 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-17 01:20:44 +0800 |
commit | 3add465edb779587e2b4bb136d8668b00b58a8fb (patch) | |
tree | 4e3051e59685e6cb4640375973b17eed18760b7a /packages/instant/src/redux | |
parent | df71dba8edcba5ca5731bed969748bdcc73efe92 (diff) | |
download | dexon-sol-tools-3add465edb779587e2b4bb136d8668b00b58a8fb.tar dexon-sol-tools-3add465edb779587e2b4bb136d8668b00b58a8fb.tar.gz dexon-sol-tools-3add465edb779587e2b4bb136d8668b00b58a8fb.tar.bz2 dexon-sol-tools-3add465edb779587e2b4bb136d8668b00b58a8fb.tar.lz dexon-sol-tools-3add465edb779587e2b4bb136d8668b00b58a8fb.tar.xz dexon-sol-tools-3add465edb779587e2b4bb136d8668b00b58a8fb.tar.zst dexon-sol-tools-3add465edb779587e2b4bb136d8668b00b58a8fb.zip |
We may not know num available assets available when wallet ready, so not trackin there
Diffstat (limited to 'packages/instant/src/redux')
-rw-r--r-- | packages/instant/src/redux/analytics_middleware.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/instant/src/redux/analytics_middleware.ts b/packages/instant/src/redux/analytics_middleware.ts index 81031eb29..fb6d7eff1 100644 --- a/packages/instant/src/redux/analytics_middleware.ts +++ b/packages/instant/src/redux/analytics_middleware.ts @@ -24,9 +24,7 @@ export const analyticsMiddleware: Middleware = store => next => middlewareAction if (curAccount.state === AccountState.Ready && prevAccount.state !== AccountState.Ready) { const ethAddress = curAccount.address; analytics.addUserProperties({ ethAddress }); - analytics.walletReady({ - numAssetsAvailable: curState.availableAssets ? curState.availableAssets.length : 0, - }); + analytics.walletReady(); } break; case ActionTypes.UPDATE_ACCOUNT_ETH_BALANCE: |