mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Ensure images are reset after messages processed
This commit is contained in:
parent
1ad6e1749f
commit
5d5bea6a5f
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ function ChatBodyData(props: ChatBodyDataProps) {
|
|||
props.streamedMessages[props.streamedMessages.length - 1].completed
|
||||
) {
|
||||
setProcessingMessage(false);
|
||||
setImages([]); // Reset images after processing
|
||||
} else {
|
||||
setMessage("");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue