From 67a1f5efb14424de61179b15bbf8f2cb33b7ea8d Mon Sep 17 00:00:00 2001 From: Josh Miller Date: Fri, 31 May 2024 17:35:08 +0100 Subject: [PATCH] feat: update saveLogs function to return success status --- frontend/context/ElectronApiProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/context/ElectronApiProvider.tsx b/frontend/context/ElectronApiProvider.tsx index 64013aff..08327df0 100644 --- a/frontend/context/ElectronApiProvider.tsx +++ b/frontend/context/ElectronApiProvider.tsx @@ -49,7 +49,7 @@ export const ElectronApiContext = createContext({ clear: async () => {}, }, setAppHeight: () => {}, - saveLogs: async () => ({}), + saveLogs: async () => ({ success: false }), openPath: () => {}, });