mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
[FLASK] Limit notification count display to 99+ (#19449)
This commit is contained in:
parent
15bdb32bb6
commit
c66d65921c
@ -153,7 +153,9 @@ export const GlobalMenu = ({ closeMenu, anchorElement }) => {
|
||||
}}
|
||||
marginInlineStart={2}
|
||||
>
|
||||
{unreadNotificationsCount}
|
||||
{unreadNotificationsCount > 99
|
||||
? '99+'
|
||||
: unreadNotificationsCount}
|
||||
</Text>
|
||||
)}
|
||||
</MenuItem>
|
||||
|
Loading…
Reference in New Issue
Block a user