You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-10-31 01:45:39 +03:00
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.
This commit is contained in:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user