From 9208dbd4b9bb50d6f2e3cbef35306172a6e1d3e0 Mon Sep 17 00:00:00 2001 From: marcoelissa Date: Wed, 18 Jan 2023 21:17:14 +0700 Subject: [PATCH] remove lit-auth-signature on wallet changed --- src/@context/Orbis.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@context/Orbis.tsx b/src/@context/Orbis.tsx index 676d665d7..fa0030331 100644 --- a/src/@context/Orbis.tsx +++ b/src/@context/Orbis.tsx @@ -324,7 +324,6 @@ function OrbisProvider({ children }: { children: ReactNode }): ReactElement { // Also fetch message notifications await getConversationNotifications(filteredConversations) - console.log(filteredConversations) setConversations(filteredConversations) return filteredConversations } @@ -420,6 +419,7 @@ function OrbisProvider({ children }: { children: ReactNode }): ReactElement { if (web3Provider && accountId) { if (accountId !== prevAccountId) { resetStates() + removeLitSignature() } // Check if wallet connected checkOrbisConnection({ address: accountId })