IO-2924-Refactor-Production-board-to-use-Socket-Provider: Finalize

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-09-26 11:13:08 -04:00
parent 8052767002
commit fa57828ebd

View File

@@ -75,7 +75,7 @@ const useSocket = (bodyshop) => {
socketRef.current = null; socketRef.current = null;
} }
}; };
}, [bodyshop?.id]); }, [bodyshop]);
return { socket: socketRef.current, clientId }; return { socket: socketRef.current, clientId };
}; };