Update _code-samples/nft-modular-tutorials/account-support.js

Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com>
This commit is contained in:
Dennis Dawson
2025-06-06 12:33:54 -07:00
committed by GitHub
parent 4236a9fa45
commit 0dc41bd569

View File

@@ -32,8 +32,10 @@ async function getAccount() {
} }
finally { finally {
// Disconnect from the client // Disconnect from the client
if (client && client.isConnected()) {
await client.disconnect(); await client.disconnect();
} }
}
} // End of getAccount() } // End of getAccount()
async function getNewAccount1() { async function getNewAccount1() {