diff --git a/src/hooks/useChat.ts b/src/hooks/useChat.ts index 7f3e931..e070068 100644 --- a/src/hooks/useChat.ts +++ b/src/hooks/useChat.ts @@ -48,7 +48,7 @@ export const useChat = (userId: string | null) => { if (!currentId) { const newConversation = await createNewConversation(message) - currentId = newConversation.id + currentId = newConversation.conversationId title = newConversation.title }