fix(types): mark type as optional in MessageWithMember
All checks were successful
Deploy Waveform to VPS / deploy (push) Successful in 7m4s
All checks were successful
Deploy Waveform to VPS / deploy (push) Successful in 7m4s
This commit is contained in:
parent
e19b3f1d08
commit
7aadbda127
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ import { useUser } from "@/lib/context/UserContext";
|
||||||
export type MessageWithMember = Omit<Message, "channelId"> & {
|
export type MessageWithMember = Omit<Message, "channelId"> & {
|
||||||
channelId?: string;
|
channelId?: string;
|
||||||
conversationId?: string;
|
conversationId?: string;
|
||||||
type: "chat" | "dm";
|
type?: "chat" | "dm";
|
||||||
member: {
|
member: {
|
||||||
id: string;
|
id: string;
|
||||||
user: User;
|
user: User;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue