From 0a45ae0781af5fc1afa6f68d63450ddfeb96350a Mon Sep 17 00:00:00 2001 From: Charlie Calendre <57274151+c-cal@users.noreply.github.com> Date: Tue, 8 Feb 2022 17:41:26 +0100 Subject: [PATCH] Fix space member list not opening (#7747) --- src/components/structures/SpaceRoomView.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/structures/SpaceRoomView.tsx b/src/components/structures/SpaceRoomView.tsx index e13eb635be..b1ec4dd8fe 100644 --- a/src/components/structures/SpaceRoomView.tsx +++ b/src/components/structures/SpaceRoomView.tsx @@ -163,10 +163,7 @@ const SpaceInfo = ({ space }: { space: Room }) => { kind="link" className="mx_SpaceRoomView_info_memberCount" onClick={() => { - RightPanelStore.instance.setCard({ - phase: RightPanelPhases.RoomMemberList, - state: { spaceId: space.roomId }, - }); + RightPanelStore.instance.setCard({ phase: RightPanelPhases.SpaceMemberList }); }} > { _t("%(count)s members", { count }) }