Skip to content

Commit 48a74ba

Browse files
committed
chore: update changeset
1 parent c1c6f40 commit 48a74ba

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.changeset/green-rockets-lie.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ Exposes autoConnect as a standalone function for use outside of react.
77
```tsx
88
import { autoConnect } from "thirdweb/wallets";
99

10-
const walletManager = createConnectionManager();
11-
const isAutoConnected = await autoConnect({
12-
client,
13-
walletManager,
10+
const autoConnected = await autoConnect({
11+
client,
12+
onConnect: (wallet) => {
13+
console.log("wallet", wallet); /// wallet that is have been auto connected.
14+
},
1415
});
1516
console.log('isAutoConnected', isAutoConnected) // true or false
1617
```

0 commit comments

Comments
 (0)