From e100402b1335315d707c72b69cd940ad5aee5c15 Mon Sep 17 00:00:00 2001 From: Lalit Date: Mon, 21 Mar 2022 07:43:55 +0530 Subject: [PATCH] docs: possible change in tutorial/ipc (#33218) The `counter` channel should be `update-counter` channel --- docs/tutorial/ipc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/ipc.md b/docs/tutorial/ipc.md index 5d3fc2ffec29b..c1af5d1f08528 100644 --- a/docs/tutorial/ipc.md +++ b/docs/tutorial/ipc.md @@ -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)