Skip to content

Commit 95b01f6

Browse files
committed
fix build error
1 parent e0464bd commit 95b01f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/components/chat/RoomWindow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function RoomWindow(props: Props) {
126126
{ content },
127127
friendId,
128128
);
129-
updateLocalMessage(editedMessage);
129+
updateLocalMessage(editedMessage.id, editedMessage);
130130
},
131131
[updateLocalMessage, friendId],
132132
);

0 commit comments

Comments
 (0)