Fix new space invite button in the room intro

This commit is contained in:
Michael Telatynski 2021-03-25 11:38:14 +00:00
parent e31fc91a03
commit 5e00818d70

View file

@ -116,7 +116,7 @@ const NewRoomIntro = () => {
className="mx_NewRoomIntro_inviteButton"
kind="primary"
onClick={() => {
dis.dispatch({ action: "view_invite", roomId });
dis.dispatch({ action: "view_invite", roomId: parentSpace.roomId });
}}
>
{_t("Invite to %(spaceName)s", { spaceName: parentSpace.name })}