docs: remove width and height params (#45331)

remove width and height params
This commit is contained in:
Kavindu Udara 2025-02-07 16:12:16 +05:30 committed by GitHub
parent ef34892a76
commit d0110d897d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')
}