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.
This commit is contained in:
parent
626f46f75a
commit
4ab0a5ade4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue