From 7aadbda127bb2a963cc2c2115d15c2492d81624f Mon Sep 17 00:00:00 2001 From: Chneemann Date: Sat, 19 Sep 2026 19:34:57 +0200 Subject: [PATCH] fix(types): mark type as optional in MessageWithMember --- components/chat/ChatItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/chat/ChatItem.tsx b/components/chat/ChatItem.tsx index 3764284..28b0e74 100644 --- a/components/chat/ChatItem.tsx +++ b/components/chat/ChatItem.tsx @@ -19,7 +19,7 @@ import { useUser } from "@/lib/context/UserContext"; export type MessageWithMember = Omit & { channelId?: string; conversationId?: string; - type: "chat" | "dm"; + type?: "chat" | "dm"; member: { id: string; user: User;