From 9ae958706b8637d3db22a801b91d62b2a94d75df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Jim=C3=A9nez?= Date: Sun, 7 Jan 2024 00:07:37 +0100 Subject: [PATCH] fix: error message appears every second --- app/renderer/src/contexts/connectors/ElectronConnector.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/renderer/src/contexts/connectors/ElectronConnector.tsx b/app/renderer/src/contexts/connectors/ElectronConnector.tsx index 42e18610..846f8460 100644 --- a/app/renderer/src/contexts/connectors/ElectronConnector.tsx +++ b/app/renderer/src/contexts/connectors/ElectronConnector.tsx @@ -107,7 +107,7 @@ export const ElectronConnectorProvider: React.FC = ({ children }) => { }, [electron, settings.openAtLogin]); useTrayIconUpdates((dataUrl) => { - electron.send(TRAY_ICON_UPDATE, { dataUrl }); + electron.send(TRAY_ICON_UPDATE, dataUrl); }); return (