From 8da8f18a452acb1d3e5b3b765c2b29dbccd75207 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 6 Jul 2023 12:21:52 -0500 Subject: [PATCH] ProfileInfoPanel: truncate bio Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1456 --- app/soapbox/features/ui/components/profile-info-panel.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/soapbox/features/ui/components/profile-info-panel.tsx b/app/soapbox/features/ui/components/profile-info-panel.tsx index eeb1d507c..addeff9d2 100644 --- a/app/soapbox/features/ui/components/profile-info-panel.tsx +++ b/app/soapbox/features/ui/components/profile-info-panel.tsx @@ -134,7 +134,6 @@ const ProfileInfoPanel: React.FC = ({ account, username }) => ); } - const content = { __html: account.note_emojified }; const deactivated = account.pleroma?.deactivated ?? false; const displayNameHtml = deactivated ? { __html: intl.formatMessage(messages.deactivated) } : { __html: account.display_name_html }; const memberSinceDate = intl.formatDate(account.created_at, { month: 'long', year: 'numeric' }); @@ -174,7 +173,7 @@ const ProfileInfoPanel: React.FC = ({ account, username }) => {account.note.length > 0 && ( - + )}