Skip to content

Commit f185d41

Browse files
Update account-kit/react/src/hooks/useSigner.ts
Co-authored-by: jakehobbs <[email protected]>
1 parent 8dff369 commit f185d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

account-kit/react/src/hooks/useSigner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useAlchemyAccountContext } from "../context.js";
77

88
/**
99
* [Hook](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/react/src/hooks/useSigner.ts) for accessing the current Alchemy signer within a React component. It uses a synchronous external store for updates.
10-
* This is a good use case if you want to use the signer as an EOA, giving you direct access to it. The signer returned from `usSigner` just does a `personal_sign` or `eth_signTypedData` without any additional logic, but a smart contract account might have additional logic for creating signatures for 1271 validation so `useSignMessage` or `useSignTypeData` instead.
10+
* This is a good use case if you want to use the signer as an EOA, giving you direct access to it. The signer returned from `useSigner` just does a `personal_sign` or `eth_signTypedData` without any additional logic, but a smart contract account might have additional logic for creating signatures for 1271 validation so `useSignMessage` or `useSignTypeData` instead.
1111
*
1212
* @example
1313
* ```ts

0 commit comments

Comments
 (0)