Fix space member list not opening ()

This commit is contained in:
Charlie Calendre 2022-02-08 17:41:26 +01:00 committed by GitHub
parent f179b7c3a8
commit 0a45ae0781
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 }) }