Browse Source

docs: remove incorrectly added let for the win variable (#18095)

trop[bot] 6 years ago
parent
commit
276c07d3d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/tutorial/first-app.md

+ 1 - 1
docs/tutorial/first-app.md

@@ -138,7 +138,7 @@ let win
 
 function createWindow () {
   // Create the browser window.
-  let win = new BrowserWindow({
+  win = new BrowserWindow({
     width: 800,
     height: 600,
     webPreferences: {