Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
feat(Translation): fix types
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Temponi <[email protected]>
  • Loading branch information
Lucas Temponi authored and LucasTemponi committed Nov 25, 2024
1 parent 59b4ce2 commit 60aae51
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ export const AnnouncementsTimeline = ({
}

if (!announcements || announcements.count === 0)
return t('announcementsTimeline.noAnnouncements');
return <>{t('announcementsTimeline.noAnnouncements')}</>;

if (error) return `${t('announcementsTimeline.error')}: ${error.message}`;
if (error)
return <>{`${t('announcementsTimeline.error')}: ${error.message}`}</>;

return (
<Stack
Expand Down

0 comments on commit 60aae51

Please sign in to comment.