Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
webfiltered committed Dec 1, 2024
1 parent 2543f6e commit ad5f5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ad5f5fc

Please sign in to comment.