From 7108530ac65b6297d0b3a2975421171748950e86 Mon Sep 17 00:00:00 2001 From: Raymond Jacobson Date: Mon, 6 May 2024 15:24:11 -0700 Subject: [PATCH] Fix wallet matches check (#8360) --- packages/web/src/common/store/account/sagas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/common/store/account/sagas.js b/packages/web/src/common/store/account/sagas.js index a9699bb24c8..ac19d1ede6b 100644 --- a/packages/web/src/common/store/account/sagas.js +++ b/packages/web/src/common/store/account/sagas.js @@ -209,7 +209,7 @@ export function* fetchLocalAccountAsync() { const currentUserExists = yield call([localStorage, 'getCurrentUserExists']) const walletMatches = - wallet.toLowerCase() === cachedAccountUser?.wallet.toLowerCase() + wallet?.toLowerCase() === cachedAccountUser?.wallet?.toLowerCase() if ( cachedAccount &&