add removeLocalWallets fixes from rblb

This commit is contained in:
k00b 2024-11-03 01:15:10 -05:00
parent fb65ea3ace
commit a4440c991f
2 changed files with 3 additions and 2 deletions

View File

@ -292,7 +292,7 @@ function LogoutObstacle ({ onClose }) {
await togglePushSubscription().catch(console.error) await togglePushSubscription().catch(console.error)
} }
removeLocalWallets().catch(console.error) removeLocalWallets()
await signOut({ callbackUrl: '/' }) await signOut({ callbackUrl: '/' })
}} }}

View File

@ -191,7 +191,8 @@ export function WalletsProvider ({ children }) {
reloadLocalWallets, reloadLocalWallets,
setPriorities, setPriorities,
onVaultKeySet: syncLocalWallets, onVaultKeySet: syncLocalWallets,
beforeDisconnectVault: unsyncLocalWallets beforeDisconnectVault: unsyncLocalWallets,
removeLocalWallets
}} }}
> >
{children} {children}