mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +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