From ee79e2c2fbbbf07a7e1cf838f0e32253bd304a0a Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 9 Mar 2020 11:55:20 -0300 Subject: Chat fix --- src/Chat.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/Chat.js b/src/Chat.js index 175797a..685524e 100644 --- a/src/Chat.js +++ b/src/Chat.js @@ -45,8 +45,7 @@ class Chat extends Component { chat: [ ...prevState.chat, { content: message, color: color, own, timestamp: ts, author: sender } - ], - chatMessage: "" + ] }), () => { let chatContainer = document.getElementById("chatContainer"); -- cgit v1.2.1-18-gbd029