aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Chat.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-13 18:44:54 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit2fb4a2c1a32a71c41e84b2bc5c0fa3c4b3f199f9 (patch)
treef58c7d0254ec7b0251b691b300067b7a36b78f3c /vnext/src/ui/Chat.js
parent2934a854c7a77c8f65316ffa4d411866648c984f (diff)
ESLint: configure additional plugins
Diffstat (limited to 'vnext/src/ui/Chat.js')
-rw-r--r--vnext/src/ui/Chat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/Chat.js b/vnext/src/ui/Chat.js
index f7113aaa..2a3e90de 100644
--- a/vnext/src/ui/Chat.js
+++ b/vnext/src/ui/Chat.js
@@ -36,7 +36,7 @@ export default function Chat(props) {
setChats(response.data);
}).catch(console.log);
}
- }, []);
+ }, [visitor]);
let onMessage = useCallback((json) => {
const msg = JSON.parse(json.data);