feat(SW-281): add alt text

This commit is contained in:
Fredrik Thorsson
2024-10-24 22:23:07 +02:00
parent a4e597dc14
commit 97b4cad443
2 changed files with 4 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ import type { HotelListingProps } from "@/types/components/contentPage/hotelList
export default async function HotelListing({
image,
altText,
name,
address,
distance,
@@ -26,7 +27,7 @@ export default async function HotelListing({
<section>
<Image
src={image}
alt=""
alt={altText}
width={300}
height={200}
className={styles.image}