diff --git a/web-app/src/hooks/useThreads.ts b/web-app/src/hooks/useThreads.ts index 7bc46675e..f8f990b44 100644 --- a/web-app/src/hooks/useThreads.ts +++ b/web-app/src/hooks/useThreads.ts @@ -32,11 +32,6 @@ export const useThreads = create()((set, get) => ({ threads: {}, searchIndex: null, setThreads: (threads) => { - threads.forEach((thread) => { - updateThread({ - ...thread, - }) - }) const threadMap = threads.reduce( (acc: Record, thread) => { acc[thread.id] = thread