From 8a1410afb95edeb4d222c8448b528fe32bdc244c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 3 Sep 2024 19:59:27 +0200 Subject: [PATCH] pl-fe: fix chats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/queries/chats.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/pl-fe/src/queries/chats.ts b/packages/pl-fe/src/queries/chats.ts index 1285720da2..1aa00f812c 100644 --- a/packages/pl-fe/src/queries/chats.ts +++ b/packages/pl-fe/src/queries/chats.ts @@ -171,6 +171,7 @@ const useChatActions = (chatId: string) => { items: [ normalizeChatMessage({ ...chatMessageSchema.parse({ + chat_id: variables.chatId, content: variables.content, id: pendingId, created_at: new Date(),