diff --git a/ui/desktop/src/components/ProgressiveMessageList.tsx b/ui/desktop/src/components/ProgressiveMessageList.tsx index 9bdd0ab689..24c8c74541 100644 --- a/ui/desktop/src/components/ProgressiveMessageList.tsx +++ b/ui/desktop/src/components/ProgressiveMessageList.tsx @@ -189,7 +189,7 @@ export default function ProgressiveMessageList({ return (
diff --git a/ui/desktop/src/hooks/useSessionStream.ts b/ui/desktop/src/hooks/useSessionStream.ts index f76adca3f0..397ae5d260 100644 --- a/ui/desktop/src/hooks/useSessionStream.ts +++ b/ui/desktop/src/hooks/useSessionStream.ts @@ -3,10 +3,6 @@ import { Session } from '../api'; import { useSessionStreamContext } from '../contexts/SessionStreamContext'; interface UseSessionStreamOptions { - /** - * Whether to enable streaming. If false, will not connect. - * @default true - */ enabled?: boolean; onUpdate?: (session: Session) => void; onError?: (error: string) => void; @@ -45,7 +41,6 @@ export function useSessionStream( const onUpdateRef = useRef(onUpdate); const onErrorRef = useRef(onError); - // Keep refs up to date useEffect(() => { onUpdateRef.current = onUpdate; onErrorRef.current = onError;