Update content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md

Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
Alexander Busse
2023-07-10 15:37:49 +02:00
committed by GitHub
parent b6b4ff16a9
commit 6aeb02391f

View File

@@ -285,7 +285,7 @@ window.electronAPI.onUpdateLedgerIndex((_event, value) => {
}) })
``` ```
7. To wire up our main application to send the ledger index to the frontend, modify `index.js` by adding the following snippet: 7. To wire up our main application to send the ledger index to the frontend, modify `index.js` by adding the following snippet replacing the last section in the file:
```javascript ```javascript
// Here we have to wait for the application to signal that it is ready // Here we have to wait for the application to signal that it is ready