From 2fb4a2c1a32a71c41e84b2bc5c0fa3c4b3f199f9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 13 Nov 2022 18:44:54 +0300 Subject: ESLint: configure additional plugins --- vnext/src/ui/Chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/src/ui/Chat.js') 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); -- cgit v1.2.3