Merge pull request #311 from langflow-ai/duplicate-files

fix duplciate bugs
This commit is contained in:
Sebastián Estévez 2025-10-27 13:02:27 -04:00 committed by GitHub
commit dfaa8bdcf4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(() => {