Skip to content

Commit

Permalink
fix: minor nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
skoriop committed Jul 23, 2024
1 parent 973a0c4 commit 6f800cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/announcements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function Announcements() {
if (unreadAnnouncements && unreadAnnouncements.length > 0) {
toast({
title: "New Announcements",
description: `You have ${unreadAnnouncements.length} unread announcement(s).`,
description: `You have ${unreadAnnouncements.length} unread announcement${unreadAnnouncements.length > 1 ? 's' : ''}.`,
});
}
}, [announcements, readAnnouncements, toast]);
Expand Down

0 comments on commit 6f800cc

Please sign in to comment.