Skip to content

Commit 3e1eb5e

Browse files
committed
Fix useSetActiveWallet code example in JSDoc
1 parent f01de73 commit 3e1eb5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/thirdweb/src/react/core/hooks/wallets/useSetActiveWallet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
99
* ```jsx
1010
* import { useSetActiveWallet } from "thirdweb/react";
1111
*
12-
* const setActiveAccount = useSetActiveWallet();
12+
* const setActiveWallet = useSetActiveWallet();
1313
*
1414
* // later in your code
15-
* await setActiveAccount(account);
15+
* await setActiveWallet(wallet);
1616
* ```
1717
* @walletConnection
1818
*/

0 commit comments

Comments
 (0)