aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/redux/analytics_middleware.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/redux/analytics_middleware.ts b/packages/instant/src/redux/analytics_middleware.ts
index a86cf1b83..f971dbd33 100644
--- a/packages/instant/src/redux/analytics_middleware.ts
+++ b/packages/instant/src/redux/analytics_middleware.ts
@@ -11,8 +11,8 @@ import { Action, ActionTypes } from './actions';
import { State } from './reducer';
const shouldTriggerWalletReady = (prevAccount: Account, curAccount: Account): boolean => {
- const justTurnedReady = curAccount.state === AccountState.Ready && prevAccount.state !== AccountState.Ready;
- if (justTurnedReady) {
+ const didJustTurnReady = curAccount.state === AccountState.Ready && prevAccount.state !== AccountState.Ready;
+ if (didJustTurnReady) {
return true;
}