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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,11 +162,13 @@ export const AccountHeader: React.FC<{
{!suspendedOrHidden && ( {!suspendedOrHidden && (
<div className='account__header__extra'> <div className='account__header__extra'>
<div className='account__header__bio'> <div className='account__header__bio'>
{me && account.id !== me && isRedesignEnabled() ? ( {me &&
<AccountNoteRedesign accountId={accountId} /> account.id !== me &&
) : ( (isRedesignEnabled() ? (
<AccountNote accountId={accountId} /> <AccountNoteRedesign accountId={accountId} />
)} ) : (
<AccountNote accountId={accountId} />
))}
<AccountBio <AccountBio
accountId={accountId} accountId={accountId}