mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 23:08:04 -05:00
fix(frontend): Record events sent to WS (#4596)
This commit is contained in:
@@ -95,6 +95,7 @@ function SocketProvider({ children }: SocketProviderProps) {
|
||||
EventLogger.error("WebSocket is not connected.");
|
||||
return;
|
||||
}
|
||||
setEvents((prevEvents) => [...prevEvents, JSON.parse(data.toString())]);
|
||||
wsRef.current.send(data);
|
||||
},
|
||||
[],
|
||||
|
||||
Reference in New Issue
Block a user