fix: Clear suggested questions when asking followups

This commit is contained in:
zaidmukaddam 2024-09-05 16:55:24 +05:30
parent 1d633b7556
commit 1a3b66cca0

View File

@ -1685,6 +1685,7 @@ export default function Home() {
}); });
setAttachments([]); setAttachments([]);
setUploadingAttachments([]); setUploadingAttachments([]);
setSuggestedQuestions([]);
if (fileInputRef.current) { if (fileInputRef.current) {
fileInputRef.current.value = ''; fileInputRef.current.value = '';
} }