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:
ZWJKFLC 2023-07-18 01:41:46 +08:00 committed by GitHub
parent 626f46f75a
commit 4ab0a5ade4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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