This commit is contained in:
Roman Sergeev 2026-05-25 07:12:13 +02:00 committed by GitHub
commit 73205d89d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -21,11 +21,11 @@ exports[`UserAccountNameMenuItem should not break if no props are passed 1`] = `
<div
class="label-elements"
>
<h2
<span
class="userAccountMenu_nameMenuItem_primaryLabel"
>
@undefined
</h2>
</span>
</div>
</li>
</div>

View file

@ -53,9 +53,9 @@ export default function UserAccountNameMenuItem({profilePicture, ...rest}: Props
const username = `@${currentUser?.username}`?.trim();
return (
<h2 className='userAccountMenu_nameMenuItem_primaryLabel'>
<span className='userAccountMenu_nameMenuItem_primaryLabel'>
{username}
</h2>
</span>
);
}