From d4b1569892f7014838970e76c2998ebe00fe6536 Mon Sep 17 00:00:00 2001 From: Hachi-R Date: Wed, 6 Nov 2024 19:11:38 -0300 Subject: [PATCH] lint --- src/preload/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/preload/index.ts b/src/preload/index.ts index 5ed7f1f1..40258476 100644 --- a/src/preload/index.ts +++ b/src/preload/index.ts @@ -38,12 +38,14 @@ contextBridge.exposeInMainWorld("electron", { return () => ipcRenderer.removeListener("on-download-progress", listener); }, onSeedingList: (cb: (value: LibtorrentSeedingPayload[]) => void) => { - const listener = (_event: Electron.IpcRendererEvent, value: LibtorrentSeedingPayload[]) => cb(value); + const listener = ( + _event: Electron.IpcRendererEvent, + value: LibtorrentSeedingPayload[] + ) => cb(value); ipcRenderer.on("on-seeding-list", listener); return () => ipcRenderer.removeListener("on-seeding-list", listener); }, - /* Catalogue */ searchGames: (query: string) => ipcRenderer.invoke("searchGames", query), getCatalogue: (category: CatalogueCategory) =>