Skip to content

Commit ed4f54c

Browse files
committed
Fix space room reorder
Fixes cinnyapp#2573
1 parent af51df5 commit ed4f54c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/features/lobby/Lobby.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export function Lobby() {
347347

348348
const itemSpaces = Array.from(
349349
hierarchy?.find((i) => i.space.roomId === containerParentId)?.rooms ?? []
350-
);
350+
).filter((i) => i.roomId !== item.roomId);
351351

352352
const beforeItem: HierarchyItem | undefined =
353353
'space' in containerItem ? undefined : containerItem;

0 commit comments

Comments
 (0)