fix ugly warning from nesting div tags in p tags (#8094)

might make negligible spacing changes to text buttons in MemberInfo, but not enough that i could spot them.
pull/21833/head
Matthew Hodgson 2022-03-21 10:27:19 +00:00 committed by GitHub
parent b8b5dd82aa
commit 22712d3091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1416,7 +1416,7 @@ const BasicUserInfo: React.FC<{
let editDevices;
if (member.userId == cli.getUserId()) {
editDevices = (<p>
editDevices = (<div>
<AccessibleButton
className="mx_UserInfo_field"
onClick={() => {
@ -1428,7 +1428,7 @@ const BasicUserInfo: React.FC<{
>
{ _t("Edit devices") }
</AccessibleButton>
</p>);
</div>);
}
const securitySection = (