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;