mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
We don't want submit buttons (#29747)
Otherwise this will submit the form.
This commit is contained in:
parent
d52b0a1467
commit
bb23a98bc6
@ -52,6 +52,7 @@ const InviteButton: React.FC<Props> = ({ vm }) => {
|
||||
Icon={InviteIcon}
|
||||
disabled={disabled}
|
||||
aria-label={_t("action|invite")}
|
||||
type="button"
|
||||
/>
|
||||
</OptionalTooltip>
|
||||
);
|
||||
@ -67,6 +68,7 @@ const InviteButton: React.FC<Props> = ({ vm }) => {
|
||||
className="mx_MemberListHeaderView_invite_large"
|
||||
disabled={!vm.canInvite}
|
||||
onClick={vm.onInviteButtonClick}
|
||||
type="button"
|
||||
>
|
||||
{_t("action|invite")}
|
||||
</Button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user