From d44556b6e2aac4b6e5e40d01dd625405658eac5c Mon Sep 17 00:00:00 2001 From: HF Date: Fri, 6 Nov 2020 23:10:39 +0100 Subject: [PATCH] temporarily disable selection saving on chat --- src/components/Chat.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Chat.jsx b/src/components/Chat.jsx index cd1ff97..99088ae 100644 --- a/src/components/Chat.jsx +++ b/src/components/Chat.jsx @@ -57,6 +57,8 @@ const Chat = ({ }, [channelMessages.length]); useEffect(() => { + // TODO this removes focus from chat box, fix this + return; if (channelMessages.length === MAX_CHAT_MESSAGES) { restoreSelection(selection); }