Skip to content

Commit

Permalink
It closes the connection to the Beacon SDK.
Browse files Browse the repository at this point in the history
Co-authored-by: NicNomadic <[email protected]>
  • Loading branch information
timothymcmackin and NicNomadic authored Jan 10, 2025
1 parent 7690e4b commit 67edebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/nft-consolidated/connect-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ If your application has multiple pages, define these objects in a single file an

The `disconnectWallet` function runs these steps to disconnect the wallet and reset the state of the app:

1. It closes the connection to the Beacon SDK with the `wallet.client.clearActiveAccount()` command.
1. It closes the connection to the Beacon SDK.
1. It nullifies the wallet reference by setting the `wallet` variable to `undefined`.
1. It deactivates the NFT button by setting the `buttonActive` flag to false.

Expand Down

0 comments on commit 67edebc

Please sign in to comment.