Merge pull request #4 from langflow-ai/copilot/fix-bb2831f2-f336-43cc-9076-bf11e5cd5e1c

Fix TypeScript build errors in frontend navigation component
This commit is contained in:
Sebastián Estévez 2025-08-30 09:54:42 -04:00 committed by GitHub
commit 85d527f757
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,7 @@ interface ConversationData {
messages: ConversationMessage[]
endpoint: EndpointType
response_id: string
title: string
[key: string]: unknown
}
@ -32,7 +33,7 @@ interface ChatContextType {
chat: string | null
langflow: string | null
}
setPreviousResponseIds: (ids: { chat: string | null; langflow: string | null }) => void
setPreviousResponseIds: (ids: { chat: string | null; langflow: string | null } | ((prev: { chat: string | null; langflow: string | null }) => { chat: string | null; langflow: string | null })) => void
refreshConversations: () => void
refreshTrigger: number
loadConversation: (conversation: ConversationData) => void