From 76ec8389c28f8c7478eff9411fe653a1b6ebaa25 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 2 Aug 2026 20:20:14 +0100 Subject: [PATCH] Add logging for navigation events in ElectronContext - Introduced a console log statement to track navigation events within the ElectronContext component. - This enhancement aids in debugging and monitoring navigation actions triggered by the desktop bridge. --- src/components/Dashboard/context/ElectronContext.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Dashboard/context/ElectronContext.jsx b/src/components/Dashboard/context/ElectronContext.jsx index 8c9cfe9..b448dc4 100644 --- a/src/components/Dashboard/context/ElectronContext.jsx +++ b/src/components/Dashboard/context/ElectronContext.jsx @@ -131,6 +131,7 @@ const ElectronProvider = ({ children }) => { applyWindowState ) const unsubNavigate = desktopBridge.onMessage('navigate', (url) => { + console.log('[ElectronContext] Navigating to:', url) navigate(url) }) const unsubNavigationGesture = desktopBridge.onMessage(