Multitab: Fix errors when locking with passcode (#3169)

This commit is contained in:
Alexander Zinchuk 2023-05-15 10:56:48 +02:00
parent 3f07fe2543
commit 874df51d22

View File

@ -205,7 +205,7 @@ const Chat: FC<OwnProps & StateProps> = ({
canChangeFolder,
});
const isIntersecting = useIsIntersecting(ref, observeIntersection);
const isIntersecting = useIsIntersecting(ref, chat ? observeIntersection : undefined);
// Load the forum topics to display unread count badge
useEffect(() => {