useLogout
Provides a hook to log out a user, disconnecting the signer and triggering the disconnectAsync function.
Import
Usage
Parameters
mutationArgs
UseLogoutMutationArgs
optional arguments to customize the mutation behavior
Returns
UseLogoutResult
an object containing the logout function, a boolean indicating if logout is in progress, and any error encountered during logout