diff --git a/docs/tutorial/tutorial-3-preload.md b/docs/tutorial/tutorial-3-preload.md index 251d13aa43cf..9804b0e1dc8e 100644 --- a/docs/tutorial/tutorial-3-preload.md +++ b/docs/tutorial/tutorial-3-preload.md @@ -202,7 +202,7 @@ Then, set up your `handle` listener in the main process. We do this _before_ loading the HTML file so that the handler is guaranteed to be ready before you send out the `invoke` call from the renderer. -```js {1,11} title="main.js" +```js {1,12} title="main.js" const { app, BrowserWindow, ipcMain } = require('electron') const path = require('path')