@codesinger0/shared-components 1.1.55 → 1.1.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -79,7 +79,7 @@ const LargeItemCard = ({
|
|
|
79
79
|
{/* Price Section */}
|
|
80
80
|
{price && (
|
|
81
81
|
<div className="text-center lg:text-right mt-4">
|
|
82
|
-
{discountPrice && discountPrice < price ? (
|
|
82
|
+
{(discountPrice ?? null) !== null && discountPrice < price ? (
|
|
83
83
|
<div className="space-y-1">
|
|
84
84
|
<div className="flex items-center justify-center lg:justify-start gap-2">
|
|
85
85
|
<span className={"text-2xl font-bold " + priceClass}>
|