diff --git a/src/app/ui/header/notificationsButton.tsx b/src/app/ui/header/notificationsButton.tsx index e1a5000..2e66561 100644 --- a/src/app/ui/header/notificationsButton.tsx +++ b/src/app/ui/header/notificationsButton.tsx @@ -147,12 +147,18 @@ export default function NotificationsButton() { - {notificationList?.unreadCount !== 0 && ( + {(notificationList?.unreadCount !== 0 && notificationList?.unreadCount !== undefined) ? ( - {notificationList?.unreadCount ? notificationList?.unreadCount : ''} + {notificationList?.unreadCount > 9 ? '9+' : notificationList?.unreadCount} + + ) : ( + + 0 )}