Skip to content

Commit

Permalink
Merge pull request #48806 from rayane-djouah/fix/48801
Browse files Browse the repository at this point in the history
[CP Staging] Fix/48801
  • Loading branch information
luacmartins authored Sep 9, 2024
2 parents 61ee515 + f85eece commit 69cb7bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pages/RoomMembersPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ function RoomMembersPage({report, session, policies}: RoomMembersPageProps) {
[],
);

useEffect(() => {
if (isFocusedScreen) {
return;
}
setSelectedMembers([]);
}, [isFocusedScreen]);

/**
* Get members for the current room
*/
Expand Down

0 comments on commit 69cb7bb

Please sign in to comment.