Skip to content

Commit aa346e6

Browse files
committed
* Remove global variable
1 parent 622e711 commit aa346e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

public/electron.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ const createWindow = () => {
2323
electron.Menu.setApplicationMenu(null);
2424
}
2525

26-
// noinspection JSUndefinedPropertyAssignment
27-
global.mainWindow = mainWindow;
28-
2926
mainWindow.removeMenu();
3027
mainWindow.loadURL(isDev ? "http://localhost:3000" : `file://${path.join(__dirname, "../build/index.html")}`);
3128
mainWindow.on("closed", () => (mainWindow = null));

0 commit comments

Comments
 (0)