From f8aded10f95ff5b0d78bcbf91ff488194d21199a Mon Sep 17 00:00:00 2001
From: chmus <71608688+chmus@users.noreply.github.com>
Date: Thu, 24 Sep 2020 22:15:28 +0300
Subject: [PATCH] disable sending 'all white space' messages
Chat currently does not check whether the message is 'all white space' text. This small addition should fix it.
However, I am currently unable to test if this will work, so it can be a wrong fix.
---
src/App.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/App.js b/src/App.js
index d7c9417..c45d2d5 100644
--- a/src/App.js
+++ b/src/App.js
@@ -99,7 +99,7 @@ function ChatRoom() {
setFormValue(e.target.value)} placeholder="say something nice" />
-
+
>)