diff --git a/packages/pl-fe/src/components/status.tsx b/packages/pl-fe/src/components/status.tsx index f930c9f4d..71c2af7d4 100644 --- a/packages/pl-fe/src/components/status.tsx +++ b/packages/pl-fe/src/components/status.tsx @@ -551,7 +551,7 @@ const Status: React.FC = (props) => { handlers={minHandlers} focusable={focusable} element='article' - lang={actualStatus.language} + lang={actualStatus.language || undefined} > {body} @@ -667,7 +667,7 @@ const Status: React.FC = (props) => { handlers={handlers} focusable={focusable} element='article' - lang={actualStatus.language} + lang={actualStatus.language || undefined} data-testid='status' > {body} diff --git a/packages/pl-fe/src/features/status/components/thread.tsx b/packages/pl-fe/src/features/status/components/thread.tsx index 1a4cfc453..c7b58f54c 100644 --- a/packages/pl-fe/src/features/status/components/thread.tsx +++ b/packages/pl-fe/src/features/status/components/thread.tsx @@ -248,7 +248,7 @@ const Thread = ({ deleted /> ) : ( - +
- {status.account.local === false && ( - - - - )} + + {status.spoiler_text && } + + + + + {status.edited_at && } + + {status.account.local === false && } +