From 0969d073ac57ec85816b0a57f42fc41a46064846 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 30 Apr 2021 14:42:44 +1000 Subject: [PATCH] Fix the key The timestamp is seconds so you can easily have the same key if two participants send a message at the same time. --- web-chat/src/ChatList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-chat/src/ChatList.tsx b/web-chat/src/ChatList.tsx index 2ffea42a3a..77917bb80e 100644 --- a/web-chat/src/ChatList.tsx +++ b/web-chat/src/ChatList.tsx @@ -11,7 +11,8 @@ export default function ChatList(props: Props) { const listItems = messages.map((currentMessage) => (