Chats: WIP streaming mutations

This commit is contained in:
Alex Gleason
2022-09-21 17:52:20 -05:00
parent 15a5c01cef
commit c3edd71bf3
2 changed files with 39 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ export const ChatRecord = ImmutableRecord({
id: '',
unread: 0,
last_message: '' as string || null,
updated_at: new Date(),
updated_at: '',
});
export const normalizeChat = (chat: Record<string, any>) => {