From b30de3d1ae98b1e05a5db3ed2a24b307de155252 Mon Sep 17 00:00:00 2001 From: Sam Hoang Van Date: Wed, 18 Jun 2025 09:39:18 +0700 Subject: [PATCH] fix: sorted-thread-not-stable (#5336) --- web-app/src/hooks/useThreads.ts | 5 ----- 1 file changed, 5 deletions(-) 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