docs: remove width and height params (#45331)
remove width and height params
This commit is contained in:
parent
ef34892a76
commit
d0110d897d
1 changed files with 1 additions and 4 deletions
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue