temporarily disable selection saving on chat

This commit is contained in:
HF 2020-11-06 23:10:39 +01:00
parent 8c6018a4ad
commit d44556b6e2

View File

@ -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);
}