mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
fix: address claude review action items
This commit is contained in:
@@ -27,9 +27,7 @@ export function sendToVisibleOverlayRuntime<T extends string>(options: {
|
||||
}
|
||||
};
|
||||
|
||||
const getURL = options.mainWindow.webContents.getURL;
|
||||
const currentURL =
|
||||
typeof getURL === 'function' ? getURL.call(options.mainWindow.webContents) : 'ready';
|
||||
const currentURL = options.mainWindow.webContents.getURL();
|
||||
const isReady =
|
||||
!options.mainWindow.webContents.isLoading() &&
|
||||
currentURL !== '' &&
|
||||
|
||||
Reference in New Issue
Block a user