notifications 20+

This commit is contained in:
zeppi 2021-01-09 14:53:12 -05:00 committed by Sean Yesmunt
parent 6cb2377266
commit eac7e100cc

View file

@ -22,7 +22,7 @@ export default function NotificationHeaderButton(props: Props) {
'notification__bubble--inline': inline,
})}
>
<span className="notification__count">{unreadCount}</span>
<span className="notification__count">{unreadCount > 20 ? '20+' : unreadCount}</span>
</span>
);
}