diff --git a/apps/sim/contexts/socket-context.tsx b/apps/sim/contexts/socket-context.tsx index c7dc3b93d6..3866df16d5 100644 --- a/apps/sim/contexts/socket-context.tsx +++ b/apps/sim/contexts/socket-context.tsx @@ -85,8 +85,6 @@ export function SocketProvider({ children, user }: SocketProviderProps) { const [currentWorkflowId, setCurrentWorkflowId] = useState(null) const [presenceUsers, setPresenceUsers] = useState([]) - - // Use refs to store event handlers to avoid stale closures const eventHandlers = useRef<{ workflowOperation?: (data: any) => void