diff --git a/src/components/structures/SpaceHierarchy.tsx b/src/components/structures/SpaceHierarchy.tsx index 94cd6c5638d..4dcdac47534 100644 --- a/src/components/structures/SpaceHierarchy.tsx +++ b/src/components/structures/SpaceHierarchy.tsx @@ -197,7 +197,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 }); }