Merge pull request #311 from langflow-ai/duplicate-files
fix duplciate bugs
This commit is contained in:
commit
dfaa8bdcf4
1 changed files with 2 additions and 0 deletions
|
|
@ -133,6 +133,8 @@ export function ChatProvider({ children }: ChatProviderProps) {
|
|||
setConversationData(conversation);
|
||||
// Clear placeholder when loading a real conversation
|
||||
setPlaceholderConversation(null);
|
||||
// Clear conversation docs to prevent duplicates when switching conversations
|
||||
setConversationDocs([]);
|
||||
}, []);
|
||||
|
||||
const startNewConversation = useCallback(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue