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

This commit is contained in:
Echo
2026-01-29 10:02:42 +01:00
committed by GitHub
parent 9079a75574
commit 8a42689268

View File

@@ -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}