pl-fe: fix chats
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
9686fa4af0
commit
8a1410afb9
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ const useChatActions = (chatId: string) => {
|
||||||
items: [
|
items: [
|
||||||
normalizeChatMessage({
|
normalizeChatMessage({
|
||||||
...chatMessageSchema.parse({
|
...chatMessageSchema.parse({
|
||||||
|
chat_id: variables.chatId,
|
||||||
content: variables.content,
|
content: variables.content,
|
||||||
id: pendingId,
|
id: pendingId,
|
||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
|
|
Loading…
Reference in a new issue