feat: remove ListContainer

This commit is contained in:
Fredrik Thorsson
2024-07-08 10:49:48 +02:00
parent 23711466de
commit aed9b56e69
2 changed files with 10 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
.section {
display: grid;
gap: 1rem;
}

View File

@@ -1,6 +1,7 @@
import HotelCard from "@/components/HotelReservation/SelectHotel/HotelCard"
import { HotelCardData } from "@/components/HotelReservation/SelectHotel/HotelCard/data"
import ListContainer from "@/components/MyPages/Blocks/Stays/ListContainer"
import styles from "./layout.module.css"
export default function SelectHotelPage() {
const hotelData: HotelCardData[] = [
@@ -57,12 +58,12 @@ export default function SelectHotelPage() {
]
return (
<div>
<ListContainer>
<main>
<section className={styles.section}>
{hotelData.map((data) => (
<HotelCard key={data.hotel.name} hotel={data.hotel} />
))}
</ListContainer>
</div>
</section>
</main>
)
}