From 6b217a9536c8d611efdec9c96c21ffcbf352982b Mon Sep 17 00:00:00 2001 From: Gancho Radkov <43912948+ganchoradkov@users.noreply.github.com> Date: Tue, 14 May 2024 14:34:32 +0300 Subject: [PATCH] fix: updates session list on session authenticate approval (#566) Co-authored-by: Gancho Radkov --- .../react-wallet-v2/src/views/SessionAuthenticateModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/wallets/react-wallet-v2/src/views/SessionAuthenticateModal.tsx b/advanced/wallets/react-wallet-v2/src/views/SessionAuthenticateModal.tsx index 126e8dc2d..3c4a18615 100644 --- a/advanced/wallets/react-wallet-v2/src/views/SessionAuthenticateModal.tsx +++ b/advanced/wallets/react-wallet-v2/src/views/SessionAuthenticateModal.tsx @@ -111,7 +111,7 @@ export default function SessionAuthenticateModal() { id: messages[0].id, auths: signedAuths }) - + SettingsStore.setSessions(Object.values(web3wallet.getActiveSessions())) ModalStore.close() } }, [address, messages])