From bd5fa83fe064dc3afd0a8a7f0b629d133ab26f71 Mon Sep 17 00:00:00 2001 From: Siddhant Rai Date: Mon, 5 Aug 2024 14:25:21 +0530 Subject: [PATCH] fix: handleInput after submission of query --- frontend/src/conversation/Conversation.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index 3a9f99382..b457dab54 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -138,6 +138,7 @@ export default function Conversation() { handleQuestion({ question: inputRef.current.value }); } inputRef.current.value = ''; + handleInput(); } };