mirror of
https://github.com/vercel/commerce.git
synced 2025-04-28 13:57:50 +00:00
Merge 7c170bdbb4b1307993f9a808925f1578c3a6a3b3 into 694c5c17bacd96c8b202a705423e5f4d9a8c93ba
This commit is contained in:
commit
c76244f993
@ -14,11 +14,11 @@ export default function OpenCart({
|
|||||||
className={clsx('h-4 transition-all ease-in-out hover:scale-110', className)}
|
className={clsx('h-4 transition-all ease-in-out hover:scale-110', className)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{quantity ? (
|
{quantity &&
|
||||||
<div className="absolute right-0 top-0 -mr-2 -mt-2 h-4 w-4 rounded bg-blue-600 text-[11px] font-medium text-white">
|
<div className="absolute right-0 top-0 -mr-2 -mt-2 h-4 w-4 rounded bg-blue-600 text-[11px] font-medium text-white">
|
||||||
{quantity}
|
{quantity}
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user