Add logging for navigation events in ElectronContext
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- 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.
This commit is contained in:
parent
9ef02304fe
commit
76ec8389c2
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user