set count is 0 + stroke heart
This commit is contained in:
@@ -150,7 +150,8 @@ function FoodPage({ }: Props) {
|
||||
<Heart
|
||||
variant={isFavorite ? 'Bold' : 'Outline'}
|
||||
size={24}
|
||||
className={isFavorite ? 'fill-primary dark:fill-foreground' : 'stroke-primary dark:stroke-foreground'}
|
||||
color='currentColor'
|
||||
className={isFavorite ? 'fill-primary dark:fill-foreground' : ''}
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -72,7 +72,7 @@ function TopBar({ profileDropState, toggleProfileDropState, toggleMenuState }: P
|
||||
className='relative'>
|
||||
<NotificationBellIcon className='size-4.5 text-icon-active dark:text-foreground' />
|
||||
<span className='absolute -right-1 -top-1 flex items-center justify-center bg-primary size-3 rounded-full text-[8px] text-container'>
|
||||
<div className='mt-0.25 place-self-center'>{notificationsCount?.data?.count}</div>
|
||||
<div className='mt-0.25 place-self-center'>{notificationsCount?.data?.count || '0'}</div>
|
||||
</span>
|
||||
</Link>
|
||||
{isLoggedIn ? (
|
||||
|
||||
Reference in New Issue
Block a user