useAddPasskey
A custom hook to handle the addition of a passkey to an already authenticated account, which includes executing a mutation with optional parameters.
Import
Usage
Parameters
mutationArgs
UseAddPasskeyMutationArgs
Optional arguments for the mutation used for adding a passkey. ref
Returns
UseAddPasskeyResult
An object containing the addPasskey
function, a boolean isAddingPasskey
to track the mutation status, and any error encountered. ref