From da5fbfdf8a1da9bd040f9da8ca5b37ed4ae16231 Mon Sep 17 00:00:00 2001 From: Alexander Busse <102560752+AlexanderBuzz@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:32:42 +0200 Subject: [PATCH] Update content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md Co-authored-by: Jackson Mills --- .../build-apps/build-a-desktop-wallet-in-javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md b/content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md index c349820663..fa9ea5a797 100644 --- a/content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md +++ b/content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md @@ -559,7 +559,7 @@ await client.request({ After this subscription our code attached listeners to the `ledgerClosed` and the `transactions` event. As soon as a `transaction` event is triggered, we do an `account_info` request to get the latest account status, as the transaction could have changed our account's state. -In addition to the subscriptions we added each an initial `ledger` and `accountInfo` request to have some data at application startup, otherwise we would see empty fields until something happened on the ledger which would trigger one of our subscriptions. +In addition to the subscriptions we added an initial `ledger` and `accountInfo` request to have some data at application startup. Otherwise we would see empty fields until something happened on the ledger that triggered one of our subscriptions. 4. Now, add the following code to `preload.js`: