From d0110d897dc77caf97535310c5f1bfb2494356ec Mon Sep 17 00:00:00 2001 From: Kavindu Udara <155027870+kavindu-udara@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:12:16 +0530 Subject: [PATCH] docs: remove width and height params (#45331) remove width and height params --- docs/tutorial/online-offline-events.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/tutorial/online-offline-events.md b/docs/tutorial/online-offline-events.md index 79b249f30b31..8cb40ebe8389 100644 --- a/docs/tutorial/online-offline-events.md +++ b/docs/tutorial/online-offline-events.md @@ -57,10 +57,7 @@ Finally, create a `main.js` file for main process that creates the window. const { app, BrowserWindow } = require('electron') const createWindow = () => { - const onlineStatusWindow = new BrowserWindow({ - width: 400, - height: 100 - }) + const onlineStatusWindow = new BrowserWindow() onlineStatusWindow.loadFile('index.html') }