Update examples/electron/src/main.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Luke Hagar
2025-07-13 01:41:56 -05:00
committed by GitHub
parent 3a1d7565b1
commit 9e4e3abc87

View File

@@ -34,9 +34,7 @@ async function createWindow() {
stopIntercept?.(); stopIntercept?.();
}); });
await app.whenReady(); // Setup the handler
// Third setup the handler
stopIntercept = await setupHandler(mainWindow); stopIntercept = await setupHandler(mainWindow);
return mainWindow; return mainWindow;