aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Chat.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-17 17:18:50 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit423da5baf0aeac7acffc83328a7c3731c2997b98 (patch)
treecee866278f6da90068a8c5ee0a3768a932e23436 /vnext/src/components/Chat.js
parentf88307cc569f4ce179a64726885ea75401dfbcec (diff)
Fix ESLint warnings
react hooks linter fixes header!
Diffstat (limited to 'vnext/src/components/Chat.js')
-rw-r--r--vnext/src/components/Chat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/Chat.js b/vnext/src/components/Chat.js
index 0742b7fb..8c1e2311 100644
--- a/vnext/src/components/Chat.js
+++ b/vnext/src/components/Chat.js
@@ -14,7 +14,7 @@ import './Chat.css';
export default function Chat(props) {
const [chats, setChats] = useState([]);
- useEffect(() => {
+ useEffect(() => {
if (props.connection.addEventListener) {
props.connection.addEventListener('msg', onMessage);
}