@@ -457,7 +457,7 @@ export const PricingDialog = ({ isOpen, onClose, onOpen, openWithPriceId }: Prop
457457 const shorterProductPrice =
458458 associatedPrice ?. formattedPrice . endsWith ( ".00" ) ? (
459459 < Text fontSize = { priceTextSize } fontWeight = "bold" >
460- { associatedPrice ?. formattedPrice . slice ( 0 , - 3 ) }
460+ { associatedPrice ?. formattedPrice . slice ( 0 , - 3 ) || 0 }
461461 </ Text >
462462 ) : (
463463 associatedPrice ?. formattedPrice
@@ -485,7 +485,7 @@ export const PricingDialog = ({ isOpen, onClose, onOpen, openWithPriceId }: Prop
485485 < Stack >
486486 < HStack justifyContent = "flex-start" >
487487 < Heading size = "md" fontWeight = "semibold" >
488- { associatedProduct ?. name }
488+ { associatedProduct ?. name || "" }
489489 </ Heading >
490490 { /* {highlighted && (
491491 <Tag size="sm" colorScheme="blue" fontWeight="bold">
@@ -513,8 +513,7 @@ export const PricingDialog = ({ isOpen, onClose, onOpen, openWithPriceId }: Prop
513513 ( shorterProductPrice || "N/A" ) }
514514 </ Text >
515515 < Text fontSize = "lg" color = "whiteAlpha.600" >
516- { interval === "month" && "per month" }
517- { interval === "year" && "per year" }
516+ { interval === "month" ? "per month" : "per year" }
518517 </ Text >
519518 </ Box >
520519 < Stack >
@@ -604,7 +603,7 @@ export const PricingDialog = ({ isOpen, onClose, onOpen, openWithPriceId }: Prop
604603 Let's chat!
605604 </ Link >
606605 </ Text >
607- </ Box >
606+ </ Box >
608607 < Text textAlign = "center" color = "whiteAlpha.600" >
609608 * External properties are currently limited to feeds with fewer than{ " " }
610609 { EXTERNAL_PROPERTIES_MAX_ARTICLES } articles < br /> < br />
0 commit comments