mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-22 12:45:50 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user