diff --git a/webapp/src/components/cards/OfferCard.tsx b/webapp/src/components/cards/OfferCard.tsx
index 17332625..72aae10c 100644
--- a/webapp/src/components/cards/OfferCard.tsx
+++ b/webapp/src/components/cards/OfferCard.tsx
@@ -6,64 +6,67 @@ import { dottedPattern } from "~/utils/chakra-theme";
import { OfferKindBadge } from "../OfferKindBadge";
type OfferCardProps = {
- offer: OfferIncluded;
- displayExpiryDate?: boolean;
+ offer: OfferIncluded;
+ displayExpiryDate?: boolean;
};
const OfferCard = ({ offer, displayExpiryDate = false }: OfferCardProps) => {
- return (
-
-
-
-
-
-
-
-
-
- {offer.partner.name}
-
-
- {offer.title}
-
-
- {displayExpiryDate && (
-
-
- Expire le : {new Date(offer.validityTo).toLocaleDateString()}
-
-
- )}
-
-
-
- );
+ return (
+
+
+
+
+
+
+
+
+
+ {offer.partner.name}
+
+
+ {offer.title}
+
+
+ {displayExpiryDate && (
+
+
+ Expire le : {new Date(offer.validityTo).toLocaleDateString()}
+
+
+ )}
+
+
+
+ );
};
export default OfferCard;