From 552508b13c4f0652db606c1709ab93cabe763e46 Mon Sep 17 00:00:00 2001 From: serafettin Date: Tue, 25 Jun 2024 00:09:38 -0400 Subject: [PATCH] Update index.tsx --- web-app/src/components/site/indexes/AskIndexes/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web-app/src/components/site/indexes/AskIndexes/index.tsx b/web-app/src/components/site/indexes/AskIndexes/index.tsx index 062e80ad..9913ae26 100644 --- a/web-app/src/components/site/indexes/AskIndexes/index.tsx +++ b/web-app/src/components/site/indexes/AskIndexes/index.tsx @@ -287,6 +287,7 @@ const AskIndexes: FC = ({ sources }) => { }; useEffect(() => { + !viewedConversation && setStreamingMessages([]); if (!isLocalUpdate.current) { viewedConversation && viewedConversation.messages &&