From 4ab0a5ade47534db85d333e17f40530cc9726475 Mon Sep 17 00:00:00 2001 From: ZWJKFLC <71260863+ZWJKFLC@users.noreply.github.com> Date: Tue, 18 Jul 2023 01:41:46 +0800 Subject: [PATCH] docs: fix a capitalization problem in messagePort tutorial (#39083) fix a capitalization problem For a rookie, this little mistake took a long time to find out. --- docs/tutorial/message-ports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/message-ports.md b/docs/tutorial/message-ports.md index 54ac0f9fa1cc..4a01a698955b 100644 --- a/docs/tutorial/message-ports.md +++ b/docs/tutorial/message-ports.md @@ -150,7 +150,7 @@ renderer. ```js title='renderer.js (Renderer Process)' @ts-nocheck // elsewhere in your code to send a message to the other renderers message handler -window.electronMessagePort.postmessage('ping') +window.electronMessagePort.postMessage('ping') ``` ### Worker process