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
  • Loading branch information
Lucas Temponi committed Nov 22, 2024
1 parent 94ec5c2 commit 14d0c6d
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 14d0c6d

Please sign in to comment.