[Release] Fix space member list not opening (#7755)

Co-authored-by: Charlie Calendre <57274151+c-cal@users.noreply.github.com>
This commit is contained in:
Michael Telatynski 2022-02-08 17:29:25 +00:00 committed by GitHub
parent 4c3c20ae62
commit eb72199808
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }) }