You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Fix new space invite button in the room intro
This commit is contained in:
@@ -116,7 +116,7 @@ const NewRoomIntro = () => {
|
|||||||
className="mx_NewRoomIntro_inviteButton"
|
className="mx_NewRoomIntro_inviteButton"
|
||||||
kind="primary"
|
kind="primary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
dis.dispatch({ action: "view_invite", roomId });
|
dis.dispatch({ action: "view_invite", roomId: parentSpace.roomId });
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{_t("Invite to %(spaceName)s", { spaceName: parentSpace.name })}
|
{_t("Invite to %(spaceName)s", { spaceName: parentSpace.name })}
|
||||||
|
|||||||
Reference in New Issue
Block a user