From ad5f5fc4097ed420f951dd2f2f7eeb1a53a90d46 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Sun, 1 Dec 2024 20:04:18 +1100 Subject: [PATCH] nit --- src/preload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preload.ts b/src/preload.ts index 6a0e5420..70bd0b88 100644 --- a/src/preload.ts +++ b/src/preload.ts @@ -215,7 +215,7 @@ const electronAPI = { restoreCustomNodes: () => { return ipcRenderer.invoke(IPC_CHANNELS.RESTORE_CUSTOM_NODES); }, - onRestoreCustomNodes: (callback: (message: { total: number, index?: number, exitCode?: number }) => void) => { + onRestoreCustomNodes: (callback: (message: { total: number; index?: number; exitCode?: number }) => void) => { ipcRenderer.on(IPC_CHANNELS.RESTORE_CUSTOM_NODES_PROGRESS, (_event, value) => { console.info(`Received ${IPC_CHANNELS.RESTORE_CUSTOM_NODES_PROGRESS} event`, value); callback(value);