Skip to content

Commit

Permalink
Remove duplicated line (#2280)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbenmoussati authored Feb 3, 2025
1 parent cdd9d05 commit 9b1b094
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/renderer/ssf-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1480,10 +1480,12 @@ local.ipcRenderer.on(
},
);

local.ipcRenderer.on('openfin-disconnection', (_event: Event) => {
local.ipcRenderer.on('openfin-disconnection', (_event: Event, disconnectionEvent) => {
local.openfinDisconnectionCallback?.(disconnectionEvent);
});
local.ipcRenderer.on(
'openfin-disconnection',
(_event: Event, disconnectionEvent) => {
local.openfinDisconnectionCallback?.(disconnectionEvent);
},
);

// Invoked whenever the app is reloaded/navigated
const sanitize = (): void => {
Expand Down

0 comments on commit 9b1b094

Please sign in to comment.