X Tutup
Skip to content

Commit b333ce2

Browse files
miniakcodebytere
authored andcommitted
docs: remove incorrectly added let for the win variable (electron#18052)
1 parent 5ed11aa commit b333ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/first-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ let win
138138

139139
function createWindow () {
140140
// Create the browser window.
141-
let win = new BrowserWindow({
141+
win = new BrowserWindow({
142142
width: 800,
143143
height: 600,
144144
webPreferences: {

0 commit comments

Comments
 (0)
X Tutup