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() {
109
109
* @example
110
110
* ```jsx
111
111
* import { useConnect } from "thirdweb/react";
112
- * import { metamaskWallet } from "thirdweb/wallets";
112
+ * import { createWallet } from "thirdweb/wallets";
113
113
*
114
114
* function Example() {
115
115
* const { connect, isConnecting, error } = useConnect();
@@ -118,7 +118,7 @@ export function useSetActiveWallet() {
118
118
* onClick={() =>
119
119
* connect(async () => {
120
120
* // instantiate wallet
121
- * const wallet = metamaskWallet( );
121
+ * const wallet = createWallet("io.metamask" );
122
122
* // connect wallet
123
123
* await wallet.connect();
124
124
* // return the wallet
You can’t perform that action at this time.
0 commit comments