Remove duplicated line (#2281)

This commit is contained in:
Salah Benmoussati 2025-02-03 14:39:06 +01:00 committed by GitHub
parent 4e585a95a1
commit 1c803486d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 => {