mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
Session list status update fix
This commit is contained in:
@@ -210,7 +210,8 @@ export default function Home() {
|
||||
off('newSession', handleNewSession);
|
||||
off('newevents', handleNewEvents);
|
||||
};
|
||||
}, [on, off]); // Re-register when SignalR connection changes
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [isConnected]); // Re-register when SignalR connection is established
|
||||
|
||||
// Save admin mode to localStorage when it changes
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user