aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLibravatar Renard 2020-03-09 11:55:20 -0300
committerLibravatar Renard 2020-03-09 11:55:20 -0300
commitee79e2c2fbbbf07a7e1cf838f0e32253bd304a0a (patch)
treec20ed9ef13c13b9a2e22c65071d96f89413f496f /src
parentdb6db037344d8c141d0d1a9e166ea18efeecb3cd (diff)
downloadbairadio-app-ee79e2c2fbbbf07a7e1cf838f0e32253bd304a0a.tar.gz
bairadio-app-ee79e2c2fbbbf07a7e1cf838f0e32253bd304a0a.tar.xz
bairadio-app-ee79e2c2fbbbf07a7e1cf838f0e32253bd304a0a.zip
Chat fix
Diffstat (limited to 'src')
-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");