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

Co-authored-by: Rome Reginelli <mduo13@gmail.com>
This commit is contained in:
Alexander Busse
2023-09-18 20:12:26 +02:00
committed by GitHub
parent 59462b12e1
commit 58e410b16c

View File

@@ -588,7 +588,7 @@ contextBridge.exposeInMainWorld('electronAPI', {
})
```
Here we can observe a notable difference to the previous step. Until now we just used `ipcRenderer` to pick up on events from the main logic, now we are using it bidirectional to send events from the frontend to the main logic:
Here is a notable difference from the previous step: previously we only used `ipcRenderer` to send events from the main logic to the frontend, but now we use it bidirectionally, also sending events from the frontend to the main logic:
```javascript
onEnterAccountAddress: (address) => {