mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Remove stored uploaded files after they're processed.
This commit is contained in:
parent
807687a0ac
commit
3badb27744
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ function ChatBodyData(props: ChatBodyDataProps) {
|
|||
size: file.size,
|
||||
});
|
||||
}
|
||||
localStorage.removeItem("uploadedFiles");
|
||||
props.setUploadedFiles(uploadedFiles);
|
||||
}, [setQueryToProcess, props.setImages, conversationId]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue