diff --git a/packages/pl-fe/src/components/parsed-content.tsx b/packages/pl-fe/src/components/parsed-content.tsx index f805c6bb0..eca2dd960 100644 --- a/packages/pl-fe/src/components/parsed-content.tsx +++ b/packages/pl-fe/src/components/parsed-content.tsx @@ -265,16 +265,16 @@ function parseContent({ const mention = mentions.find(({ url }) => domNode.attribs.href === url); if (mention) { return ( - - e.stopPropagation()} - > + e.stopPropagation()} + > + @{mention.username} - - + + ); } } else if (domNode.attribs['data-user']) { diff --git a/packages/pl-fe/src/components/parsed-mfm.tsx b/packages/pl-fe/src/components/parsed-mfm.tsx index d81267ed0..8da4340de 100644 --- a/packages/pl-fe/src/components/parsed-mfm.tsx +++ b/packages/pl-fe/src/components/parsed-mfm.tsx @@ -410,16 +410,16 @@ const ParsedMfm: React.FC = React.memo(({ text, emojis, mentions, sp if (mention) { return ( - - e.stopPropagation()} - > + e.stopPropagation()} + > + @{mention.username} - - + + ); } diff --git a/packages/pl-fe/src/components/status-mention.tsx b/packages/pl-fe/src/components/status-mention.tsx index 5fdd267d2..fba8f4408 100644 --- a/packages/pl-fe/src/components/status-mention.tsx +++ b/packages/pl-fe/src/components/status-mention.tsx @@ -20,16 +20,16 @@ const StatusMention: React.FC = ({ accountId, fallback }) => { ); return ( - - e.stopPropagation()} - > + e.stopPropagation()} + > + @{account.acct} - - + + ); }; diff --git a/packages/pl-fe/src/features/admin/components/report.tsx b/packages/pl-fe/src/features/admin/components/report.tsx index 24011d948..166ed1810 100644 --- a/packages/pl-fe/src/features/admin/components/report.tsx +++ b/packages/pl-fe/src/features/admin/components/report.tsx @@ -84,16 +84,16 @@ const Report: React.FC = ({ id }) => { return ( - - + + - - + + @@ -101,9 +101,11 @@ const Report: React.FC = ({ id }) => { id='admin.reports.report_title' defaultMessage='Report on {acct}' values={{ acct: ( - - @{acct} - + + + @{acct} + + ) }} /> @@ -136,15 +138,15 @@ const Report: React.FC = ({ id }) => { - - + + @{reporterAcct} - - + + )} diff --git a/packages/pl-fe/src/features/chats/components/shoutbox-message-list.tsx b/packages/pl-fe/src/features/chats/components/shoutbox-message-list.tsx index 2e6131f41..015180f6d 100644 --- a/packages/pl-fe/src/features/chats/components/shoutbox-message-list.tsx +++ b/packages/pl-fe/src/features/chats/components/shoutbox-message-list.tsx @@ -41,15 +41,15 @@ const ShoutboxMessage: React.FC = ({ message, isMyMessage }) = })} > {!isMyMessage && ( - - + + - - + + )} ): JSX.Element => ( - - + + - - + + ); const icons: Partial> = { diff --git a/packages/pl-fe/src/features/ui/components/profile-familiar-followers.tsx b/packages/pl-fe/src/features/ui/components/profile-familiar-followers.tsx index 21acbb366..ff68c9f43 100644 --- a/packages/pl-fe/src/features/ui/components/profile-familiar-followers.tsx +++ b/packages/pl-fe/src/features/ui/components/profile-familiar-followers.tsx @@ -37,8 +37,8 @@ const ProfileFamiliarFollowers: React.FC = ({ account } const accounts: Array = familiarFollowers.map(account => !!account && ( - - + + @@ -46,8 +46,8 @@ const ProfileFamiliarFollowers: React.FC = ({ account {account.verified && } - - + + )).filter(Boolean); if (familiarFollowerIds.length > 2) { diff --git a/packages/pl-fe/src/pages/account-lists/directory.tsx b/packages/pl-fe/src/pages/account-lists/directory.tsx index e9580c172..2b95cdeca 100644 --- a/packages/pl-fe/src/pages/account-lists/directory.tsx +++ b/packages/pl-fe/src/pages/account-lists/directory.tsx @@ -68,8 +68,8 @@ const AccountCard: React.FC = ({ id }) => { className='h-32 w-full rounded-t-lg object-cover' /> - - + + = ({ id }) => { size={64} isCat={account.is_cat} /> - - + +