Skip to content

Commit

Permalink
refactor: add new react hooks to improve devex
Browse files Browse the repository at this point in the history
  • Loading branch information
avasisht23 committed Apr 11, 2024
1 parent 069db8c commit 9506a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/UserCard.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"use client";
import {
useAddPasskey,
useDisconnectSigner,
useExportWallet,
useSignMessage,
useSignerDisconnect,
useSmartAccountClient,
useUser,
} from "@alchemy/aa-alchemy/react";
Expand Down Expand Up @@ -42,7 +42,7 @@ export const UserCard = () => {

const { addPasskey } = useAddPasskey();

const { disconnect: logout } = useSignerDisconnect();
const { disconnect: logout } = useDisconnectSigner();

const form = useForm({
defaultValues: {
Expand Down

0 comments on commit 9506a82

Please sign in to comment.