aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Chat.js3
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");