Remove stored uploaded files after they're processed.

This commit is contained in:
sabaimran 2024-11-08 23:28:02 -08:00
parent 807687a0ac
commit 3badb27744

View file

@ -94,6 +94,7 @@ function ChatBodyData(props: ChatBodyDataProps) {
size: file.size,
});
}
localStorage.removeItem("uploadedFiles");
props.setUploadedFiles(uploadedFiles);
}, [setQueryToProcess, props.setImages, conversationId]);