diff --git a/electron/main.ts b/electron/main.ts index fa7e0dfa..42d4a7e1 100644 --- a/electron/main.ts +++ b/electron/main.ts @@ -70,7 +70,7 @@ async function createWindow() { // Add IPC handler for closing main window ipcMain.on('close-main-window', () => { - if (mainWindow) { + if (mainWindow) { mainWindow.close(); } });