diff options
Diffstat (limited to 'src/Chat.js')
-rw-r--r-- | src/Chat.js | 3 |
1 files changed, 1 insertions, 2 deletions
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"); |