Fix new space invite button in the room intro

pull/21833/head
Michael Telatynski 2021-03-25 11:38:14 +00:00
parent e31fc91a03
commit 5e00818d70
1 changed files with 1 additions and 1 deletions

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