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:
parent
5d6d965afc
commit
9208dbd4b9
@ -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 })
|
||||
|
Loading…
Reference in New Issue
Block a user