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 ? (