File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/thirdweb/src/react/core/hooks/wallets Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export function useSetActiveWallet() {
109109 * @example
110110 * ```jsx
111111 * import { useConnect } from "thirdweb/react";
112- * import { metamaskWallet } from "thirdweb/wallets";
112+ * import { createWallet } from "thirdweb/wallets";
113113 *
114114 * function Example() {
115115 * const { connect, isConnecting, error } = useConnect();
@@ -118,7 +118,7 @@ export function useSetActiveWallet() {
118118 * onClick={() =>
119119 * connect(async () => {
120120 * // instantiate wallet
121- * const wallet = metamaskWallet( );
121+ * const wallet = createWallet("io.metamask" );
122122 * // connect wallet
123123 * await wallet.connect();
124124 * // return the wallet
You can’t perform that action at this time.
0 commit comments