From 27a90d8204748f0a2aabd0cc7d937eabdbd25ad1 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 19 May 2022 15:30:54 +1000 Subject: [PATCH] Use timestamp in millisecond It was implicitly using `toString` which return the timestamp in readable format with a precision in seconds which meant messages sent within the same second had the same key. --- examples/relay-reactjs-chat/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/relay-reactjs-chat/src/App.js b/examples/relay-reactjs-chat/src/App.js index ce8fbde228..c296133cee 100644 --- a/examples/relay-reactjs-chat/src/App.js +++ b/examples/relay-reactjs-chat/src/App.js @@ -78,7 +78,7 @@ function App() {