pl-fe: fix chats

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-03 19:59:27 +02:00
parent 9686fa4af0
commit 8a1410afb9

View file

@ -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(),