mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 13:41:22 +00:00
Fix cart removal
This commit is contained in:
@@ -25,9 +25,11 @@ const UserNav: FC<Props> = ({ className }) => {
|
||||
<ul className={s.list}>
|
||||
<li className={s.item} onClick={() => openSidebar()}>
|
||||
<Bag />
|
||||
<span className="bg-black h-4 w-4 absolute rounded-full inset-3 text-white flex items-center justify-center font-bold text-xs">
|
||||
{itemsCount}
|
||||
</span>
|
||||
{itemsCount > 0 && (
|
||||
<span className="bg-black h-4 w-4 absolute rounded-full inset-3 text-white flex items-center justify-center font-bold text-xs">
|
||||
{itemsCount}
|
||||
</span>
|
||||
)}
|
||||
</li>
|
||||
<li className={s.item}>
|
||||
<Heart />
|
||||
|
Reference in New Issue
Block a user