fix: address claude review action items

This commit is contained in:
sudacode committed 2026-02-28 14:31:43 -08:00
1 parent 151752b17a
commit 771ea5777f
4 files changed
+10 -11

No files matched your search

+7 -6
View File
@@ -65,12 +65,13 @@ export function createOverlayModalRuntimeService(
return null;
};
const isWindowReadyForIpc = (window: BrowserWindow): boolean => {
if (window.webContents.isLoading()) {
return false;
}
return window.webContents.getURL() !== '' && window.webContents.getURL() !== 'about:blank';
};
const isWindowReadyForIpc = (window: BrowserWindow): boolean => {
if (window.webContents.isLoading()) {
return false;
}
const currentURL = window.webContents.getURL();
return currentURL !== '' && currentURL !== 'about:blank';
};
const sendOrQueueForWindow = (
window: BrowserWindow,