Add missing let (#15746)
This commit is contained in:
parent
24f1eac84f
commit
cacb56b103
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ const { app, BrowserWindow } = require('electron')
|
|||
|
||||
function createWindow () {
|
||||
// Create the browser window.
|
||||
win = new BrowserWindow({ width: 800, height: 600 })
|
||||
let win = new BrowserWindow({ width: 800, height: 600 })
|
||||
|
||||
// and load the index.html of the app.
|
||||
win.loadFile('index.html')
|
||||
|
|
Loading…
Reference in a new issue