diff --git a/src/components/DesignCanvas.tsx b/src/components/DesignCanvas.tsx index c5855e4..7d478bb 100644 --- a/src/components/DesignCanvas.tsx +++ b/src/components/DesignCanvas.tsx @@ -677,31 +677,34 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) {

{product.name}

{product.description}

-

- {(() => { - const { onSale, price, originalPrice } = getEffectivePrice( - { - id: product.id, - basePrice: product.basePrice, - personalisedPrice: product.personalisedPrice, - salePrice: product.onSale ? product.effectivePrice : null, - saleStartsAt: null, - saleEndsAt: null, - }, - [], - new Date(), - true, - ); - return ( - <> - {onSale && originalPrice != null && ( - - )} - - - ); - })()} -

+
+

+ {(() => { + const { onSale, price, originalPrice } = getEffectivePrice( + { + id: product.id, + basePrice: product.basePrice, + personalisedPrice: product.personalisedPrice, + salePrice: product.onSale ? product.effectivePrice : null, + saleStartsAt: null, + saleEndsAt: null, + }, + [], + new Date(), + true, + ); + return ( + <> + {onSale && originalPrice != null && ( + + )} + + + ); + })()} +

+

For personalized design

+