Prevent account note from appearing on your own profile (#37653)

This commit is contained in:
Echo authored and GitHub committed 2026-01-29 09:02:42 +00:00
1 parent 9079a75574
commit 8a42689268
1 file changed
+7 -5
@@ -162,11 +162,13 @@ export const AccountHeader: React.FC<{
{!suspendedOrHidden && (
<div className='account__header__extra'>
<div className='account__header__bio'>
{me && account.id !== me && isRedesignEnabled() ? (
<AccountNoteRedesign accountId={accountId} />
) : (
<AccountNote accountId={accountId} />
)}
{me &&
account.id !== me &&
(isRedesignEnabled() ? (
<AccountNoteRedesign accountId={accountId} />
) : (
<AccountNote accountId={accountId} />
))}
<AccountBio
accountId={accountId}