Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix: consolidate imports from threadTodosSlice in useThreadTodos

Steven Enamakel0b81215d2e65
diff --git a/app/src/features/conversations/aui/useThreadTodos.ts b/app/src/features/conversations/aui/useThreadTodos.ts
index c0d23e9bc3..ab0ce77b72 100644
--- a/app/src/features/conversations/aui/useThreadTodos.ts
+++ b/app/src/features/conversations/aui/useThreadTodos.ts
@@ -6,9 +6,8 @@
import { useEffect, useRef } from 'react';
import { threadApi } from '../../../services/api/threadApi';
-import { setThreadTodos } from '../../../store/threadTodosSlice';
import { useAppDispatch, useAppSelector } from '../../../store/hooks';
-import type { ThreadTodoItemView } from '../../../store/threadTodosSlice';
+import { setThreadTodos, type ThreadTodoItemView } from '../../../store/threadTodosSlice';
/** `null` when the thread has no live entry yet (not "empty list"). */
export function useThreadTodos(threadId: string | null): ThreadTodoItemView[] | null {