From 427afc83aa85a8bf8c985c867c7d6ad12df3d071 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 19 Oct 2021 17:10:34 +0100 Subject: [PATCH] Fix couple of Spaces regressions (#6989) --- res/css/structures/_SpacePanel.scss | 7 ------- src/components/structures/SpaceRoomView.tsx | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/res/css/structures/_SpacePanel.scss b/res/css/structures/_SpacePanel.scss index d060696147..316bc460b5 100644 --- a/res/css/structures/_SpacePanel.scss +++ b/res/css/structures/_SpacePanel.scss @@ -146,13 +146,6 @@ $activeBorderColor: $secondary-content; padding: 4px; } - &:not(.mx_SpaceButton_narrow) { - .mx_SpaceButton_selectionWrapper { - width: 100%; - overflow: hidden; - } - } - .mx_SpaceButton_name { flex: 1; margin-left: 8px; diff --git a/src/components/structures/SpaceRoomView.tsx b/src/components/structures/SpaceRoomView.tsx index db8f542b17..4a43f0380d 100644 --- a/src/components/structures/SpaceRoomView.tsx +++ b/src/components/structures/SpaceRoomView.tsx @@ -128,7 +128,7 @@ const useMyRoomMembership = (room: Room) => { }; const SpaceInfo = ({ space }: { space: Room }) => { - const summary = useAsyncMemo(() => { + const summary = useAsyncMemo(async () => { if (space.getMyMembership() !== "invite") return; try { return space.client.getRoomSummary(space.roomId);