diff --git a/packages/pl-fe/src/components/account.tsx b/packages/pl-fe/src/components/account.tsx index 0f27aa026..c8e707905 100644 --- a/packages/pl-fe/src/components/account.tsx +++ b/packages/pl-fe/src/components/account.tsx @@ -102,7 +102,6 @@ interface IAccount { withDate?: boolean; withLinkToProfile?: boolean; withRelationship?: boolean; - showEdit?: boolean; approvalStatus?: StatusApprovalStatus | null; emoji?: string; emojiUrl?: string; @@ -130,7 +129,6 @@ const Account = ({ withDate = false, withLinkToProfile = true, withRelationship = true, - showEdit = false, approvalStatus, emoji, emojiUrl, @@ -383,14 +381,6 @@ const Account = ({ > )} - {showEdit ? ( - <> - · - - - > - ) : null} - {actionType === 'muting' && account.mute_expires_at ? ( <> · diff --git a/packages/pl-fe/src/components/status.tsx b/packages/pl-fe/src/components/status.tsx index af377a828..12b631193 100644 --- a/packages/pl-fe/src/components/status.tsx +++ b/packages/pl-fe/src/components/status.tsx @@ -23,6 +23,7 @@ import { useStatusMetaStore } from 'pl-fe/stores/status-meta'; import { textForScreenReader } from 'pl-fe/utils/status'; import EventPreview from './event-preview'; +import RelativeTimestamp from './relative-timestamp'; import StatusActionBar from './status-action-bar'; import StatusContent from './status-content'; import StatusLanguagePicker from './status-language-picker'; @@ -383,25 +384,35 @@ const Status: React.FC = (props) => { > {statusInfo} - - - - > - )} - /> + + + + + + + event.stopPropagation()}> + + + + + {!!actualStatus.edited_at && ( + <> + · + + + > + )} + +