@propeller-commerce/propeller-v2-react-ui 0.19.0 → 0.19.2

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.
package/dist/pure.cjs CHANGED
@@ -392,11 +392,11 @@ function OrderItemCard(props) {
392
392
  className: isChildItem ? "propeller-order-item-card__cell propeller-order-item-card__cell--price px-6 py-2 text-right whitespace-nowrap text-sm text-muted-foreground" : "propeller-order-item-card__cell propeller-order-item-card__cell--price px-6 py-4 text-right whitespace-nowrap",
393
393
  children: (() => {
394
394
  const PriceImpl = props.priceComponent;
395
- if (PriceImpl) {
395
+ if (PriceImpl && item?.product?.price) {
396
396
  return /* @__PURE__ */ jsxRuntime.jsx(
397
397
  PriceImpl,
398
398
  {
399
- price: item?.product?.price,
399
+ price: item.product.price,
400
400
  currency: props.currency,
401
401
  labels: props.labels
402
402
  }