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