diff --git a/src/components/Timeline/Shared/Actioned.tsx b/src/components/Timeline/Shared/Actioned.tsx index fcc3a002..8d3dcb26 100644 --- a/src/components/Timeline/Shared/Actioned.tsx +++ b/src/components/Timeline/Shared/Actioned.tsx @@ -19,7 +19,7 @@ export interface Props { const TimelineActioned: React.FC = ({ action, isNotification, ...rest }) => { const { status, reblogStatus } = useContext(StatusContext) const account = rest.account || (reblogStatus ? reblogStatus.account : status?.account) - if (!status || !account) return null + if (!account) return null const { t } = useTranslation('componentTimeline') const { colors } = useTheme() diff --git a/src/screens/Tabs/Shared/Search/Empty.tsx b/src/screens/Tabs/Shared/Search/Empty.tsx index 34b61b01..b43d3189 100644 --- a/src/screens/Tabs/Shared/Search/Empty.tsx +++ b/src/screens/Tabs/Shared/Search/Empty.tsx @@ -72,16 +72,18 @@ const SearchEmpty: React.FC = ({ isLoading, inputRef, setSearchTerm }) => - - {t('shared.search.empty.trending.tags')} - + {trendsTags.data?.length ? ( + + {t('shared.search.empty.trending.tags')} + + ) : null} {trendsTags.data?.map((tag, index) => { const hashtag = tag as Mastodon.Tag