diff --git a/src/components/Menu/ChatHistoryList.tsx b/src/components/Menu/ChatHistoryList.tsx index eaa0a44..8fb0569 100644 --- a/src/components/Menu/ChatHistoryList.tsx +++ b/src/components/Menu/ChatHistoryList.tsx @@ -44,7 +44,7 @@ const ChatHistoryList = () => { if ( !chat.title.toLocaleLowerCase().includes(filterLowerCase) && !chat.folder?.toLowerCase().includes(filterLowerCase) && - index !== currentChatIndex + index !== useStore.getState().currentChatIndex ) return;