From 67edebcf946c466277b3c26da2e394a4f43cef7d Mon Sep 17 00:00:00 2001 From: Tim McMackin Date: Fri, 10 Jan 2025 12:54:10 -0500 Subject: [PATCH] It closes the connection to the Beacon SDK. Co-authored-by: NicNomadic <148877430+NicNomadic@users.noreply.github.com> --- docs/tutorials/nft-consolidated/connect-wallet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/nft-consolidated/connect-wallet.md b/docs/tutorials/nft-consolidated/connect-wallet.md index 7fa9d4e28..ebf9d296e 100644 --- a/docs/tutorials/nft-consolidated/connect-wallet.md +++ b/docs/tutorials/nft-consolidated/connect-wallet.md @@ -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.