mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-18 05:00:29 +03:00
updated NotificationBadge component
This commit is contained in:
parent
7b0aa7b770
commit
9e9ea41bdd
5 changed files with 23 additions and 30 deletions
|
|
@ -40,7 +40,7 @@ const SidebarAvatar = React.forwardRef(({
|
|||
iconSrc={iconSrc}
|
||||
size="normal"
|
||||
/>
|
||||
{ notifyCount !== null && <NotificationBadge alert>{notifyCount}</NotificationBadge> }
|
||||
{ notifyCount !== null && <NotificationBadge alert content={notifyCount} /> }
|
||||
</button>
|
||||
</Tippy>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue