From 7f69ba536b45efe64aa52289ed8f4895a5d59f75 Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Fri, 5 Jul 2024 15:32:28 +0200 Subject: [PATCH] feat: change class name --- .../HotelReservation/SelectHotel/HotelCard/hotelCard.module.css | 2 +- components/HotelReservation/SelectHotel/HotelCard/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/HotelReservation/SelectHotel/HotelCard/hotelCard.module.css b/components/HotelReservation/SelectHotel/HotelCard/hotelCard.module.css index f2480dd96..4d3704a47 100644 --- a/components/HotelReservation/SelectHotel/HotelCard/hotelCard.module.css +++ b/components/HotelReservation/SelectHotel/HotelCard/hotelCard.module.css @@ -35,7 +35,7 @@ font-size: var(--typography-Caption-Regular-fontSize); } -.labels { +.chips { display: flex; flex-wrap: wrap; gap: var(--Spacing-x1); diff --git a/components/HotelReservation/SelectHotel/HotelCard/index.tsx b/components/HotelReservation/SelectHotel/HotelCard/index.tsx index 14ed4e483..fb6d954e0 100644 --- a/components/HotelReservation/SelectHotel/HotelCard/index.tsx +++ b/components/HotelReservation/SelectHotel/HotelCard/index.tsx @@ -22,7 +22,7 @@ export default function HotelCard({ hotel }: HotelCardData) { {hotel.address} {hotel.description} -
+
{hotel.label.map((chip, index) => ( {chip} ))}