1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

remove lit-auth-signature on wallet changed

This commit is contained in:
marcoelissa 2023-01-18 21:17:14 +07:00
parent 5d6d965afc
commit 9208dbd4b9

View File

@ -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 })