Skip to content

Commit

Permalink
Updated count logic with RC
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairyashiil committed Jan 6, 2025
1 parent b5b982c commit d1d4716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/views/RoomMembers/RoomMember.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const RoomMembers = ({ members }) => {
setViewStatus(value);
};

const totalMembers = members.length;
// const totalMembers = members.length;
const displayedMembers = filteredMembers.length;

return (
Expand Down Expand Up @@ -192,7 +192,7 @@ const RoomMembers = ({ members }) => {
<Divider />
</Box>
<Box>
Showing {displayedMembers} of {totalMembers}
Showing {displayedMembers} of {displayedMembers}
</Box>
<Box css={styles.memberList}>
{filteredMembers.length > 0 ? (
Expand Down

0 comments on commit d1d4716

Please sign in to comment.