Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 12, 2023
1 parent 56297e3 commit 1128a63
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions readme.md
Expand Up @@ -30,11 +30,7 @@ let mainWindow;
(async () => {
await app.whenReady();

mainWindow = new BrowserWindow({
webPreferences: {
spellcheck: true // enabled by default since electron 9
}
});
mainWindow = new BrowserWindow();
})();
```

Expand Down Expand Up @@ -66,11 +62,7 @@ let mainWindow;
(async () => {
await app.whenReady();

mainWindow = new BrowserWindow({
webPreferences: {
spellcheck: true // enabled by default since electron 9
}
});
mainWindow = new BrowserWindow();
})();
```

Expand Down

0 comments on commit 1128a63

Please sign in to comment.