useWalletDisconnector
Callable
Parameters
optionalwallets: any
Wallets to disconnect from, will disconnect from all connected wallets if none is specified
Returns [state: AsyncValue<Value, MutationError>, execute: (...args: [wallets?: any]) => Promise<void> | Subscription]
The wallet disconnection state & disconnect function
Hook for disconnecting wallets