diff --git a/src/components/structures/SpaceHierarchy.tsx b/src/components/structures/SpaceHierarchy.tsx index e0d124af0c..9bb14924f0 100644 --- a/src/components/structures/SpaceHierarchy.tsx +++ b/src/components/structures/SpaceHierarchy.tsx @@ -199,7 +199,7 @@ const Tile: React.FC = ({ ); } - let description = _t("%(count)s members", { count: room.num_joined_members }); + let description = _t("%(count)s members", { count: room.num_joined_members ?? 0 }); if (numChildRooms !== undefined) { description += " ยท " + _t("%(count)s rooms", { count: numChildRooms }); }