feat(SW-68): remove fragment
This commit is contained in:
@@ -29,33 +29,31 @@ export default async function SelectHotelPage({
|
||||
const tempSearchTerm = "Stockholm"
|
||||
|
||||
return (
|
||||
<>
|
||||
<main className={styles.main}>
|
||||
<section>
|
||||
<StaticMap
|
||||
city={tempSearchTerm}
|
||||
width={340}
|
||||
height={180}
|
||||
zoomLevel={11}
|
||||
mapType="roadmap"
|
||||
/>
|
||||
<Link
|
||||
className={styles.link}
|
||||
color="burgundy"
|
||||
variant="underscored"
|
||||
href="#"
|
||||
>
|
||||
{formatMessage({ id: "Show map" })}
|
||||
<ChevronRightIcon color="burgundy" className={styles.icon} />
|
||||
</Link>
|
||||
<HotelFilter filters={hotelFilters} />
|
||||
</section>
|
||||
<section className={styles.hotelCards}>
|
||||
{hotels.map((hotel) => (
|
||||
<HotelCard key={hotel.name} hotel={hotel} />
|
||||
))}
|
||||
</section>
|
||||
</main>
|
||||
</>
|
||||
<main className={styles.main}>
|
||||
<section>
|
||||
<StaticMap
|
||||
city={tempSearchTerm}
|
||||
width={340}
|
||||
height={180}
|
||||
zoomLevel={11}
|
||||
mapType="roadmap"
|
||||
/>
|
||||
<Link
|
||||
className={styles.link}
|
||||
color="burgundy"
|
||||
variant="underscored"
|
||||
href="#"
|
||||
>
|
||||
{formatMessage({ id: "Show map" })}
|
||||
<ChevronRightIcon color="burgundy" className={styles.icon} />
|
||||
</Link>
|
||||
<HotelFilter filters={hotelFilters} />
|
||||
</section>
|
||||
<section className={styles.hotelCards}>
|
||||
{hotels.map((hotel) => (
|
||||
<HotelCard key={hotel.name} hotel={hotel} />
|
||||
))}
|
||||
</section>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user