From d1d47168bc7216ca4895df25b5914d8bca2ffa87 Mon Sep 17 00:00:00 2001 From: dhairyashil Date: Fri, 3 Jan 2025 16:58:40 +0530 Subject: [PATCH] Updated count logic with RC --- packages/react/src/views/RoomMembers/RoomMember.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/views/RoomMembers/RoomMember.js b/packages/react/src/views/RoomMembers/RoomMember.js index e64f57658..7d55652e0 100644 --- a/packages/react/src/views/RoomMembers/RoomMember.js +++ b/packages/react/src/views/RoomMembers/RoomMember.js @@ -109,7 +109,7 @@ const RoomMembers = ({ members }) => { setViewStatus(value); }; - const totalMembers = members.length; + // const totalMembers = members.length; const displayedMembers = filteredMembers.length; return ( @@ -192,7 +192,7 @@ const RoomMembers = ({ members }) => { - Showing {displayedMembers} of {totalMembers} + Showing {displayedMembers} of {displayedMembers} {filteredMembers.length > 0 ? (