Skip to content

Commit

Permalink
πŸ› Fix getter error in logger user
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Sep 10, 2024
1 parent 65f921a commit 3ec7662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/modules/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ const actions = {
},

async handleConnectorRedirect(
{ dispatch },
{ dispatch, getters },
{ method, params, isLogin = true }
) {
const connector = await dispatch('getConnector');
Expand Down Expand Up @@ -473,7 +473,7 @@ const actions = {
await dispatch('walletLogout');
},

async restoreSession({ dispatch }) {
async restoreSession({ dispatch, getters }) {
// HACK: check for localStorage session before init-ing wallet connector lib
// wallet connector lib is a huge js
let hasSession = false;
Expand Down

0 comments on commit 3ec7662

Please sign in to comment.