fixed members blinking on room change
This commit is contained in:
parent
513f1aab67
commit
f6f6bd871e
@ -56,6 +56,7 @@ const Members = ({
|
||||
useEffect(async () => {
|
||||
if (!selection.isRoom) return;
|
||||
if (selectionParentRoom && selectionParentRoom.id === selection.id) return;
|
||||
setMembers(null);
|
||||
const fetchedMembers = await fetchMembers(selection.id);
|
||||
setSelectionParentRoom({
|
||||
...selection,
|
||||
|
Loading…
Reference in New Issue
Block a user