feat: remove unjoined sub-room handling from Home and Space components

This commit is contained in:
2026-03-15 21:51:20 +11:00
parent a65898e74f
commit 61086efbcf
2 changed files with 0 additions and 6 deletions

View File

@@ -291,9 +291,6 @@ export function Home() {
subRooms.forEach((subRoomId, index) => {
addRoomAndSubRooms(subRoomId, depth + 1, roomId, index === subRooms.length - 1);
});
} else if (parentId) {
// Unjoined sub-room - show with join button
items.push({ type: 'unjoined-subroom', roomId, depth, parentId, isLast });
}
};

View File

@@ -470,9 +470,6 @@ export function Space() {
items.push({ type: 'subroom', roomId: subRoomId, room: subRoom, depth: baseDepth + 1, isLast });
// Recursively add sub-rooms of sub-rooms
addSubRooms(subRoomId, baseDepth + 1);
} else {
// Unjoined sub-room - show with join button
items.push({ type: 'unjoined-subroom', roomId: subRoomId, depth: baseDepth + 1, isLast });
}
});
};