temporarily disable selection saving on chat
This commit is contained in:
parent
8c6018a4ad
commit
d44556b6e2
|
@ -57,6 +57,8 @@ const Chat = ({
|
||||||
}, [channelMessages.length]);
|
}, [channelMessages.length]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
// TODO this removes focus from chat box, fix this
|
||||||
|
return;
|
||||||
if (channelMessages.length === MAX_CHAT_MESSAGES) {
|
if (channelMessages.length === MAX_CHAT_MESSAGES) {
|
||||||
restoreSelection(selection);
|
restoreSelection(selection);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user