Skip to content

Commit

Permalink
docs: possible change in tutorial/ipc (#33218)
Browse files Browse the repository at this point in the history
The `counter` channel should be `update-counter` channel
  • Loading branch information
Lalit3716 committed Mar 21, 2022
1 parent 45e2f86 commit e100402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/ipc.md
Expand Up @@ -413,7 +413,7 @@ function createWindow () {
```
For the purposes of the tutorial, it's important to note that the `click` handler
sends a message (either `1` or `-1`) to the renderer process through the `counter` channel.
sends a message (either `1` or `-1`) to the renderer process through the `update-counter` channel.
```javascript
click: () => mainWindow.webContents.send('update-counter', -1)
Expand Down

0 comments on commit e100402

Please sign in to comment.