feat: WEB-210 Updated as per review comments
This commit is contained in:
@@ -26,7 +26,7 @@ export default async function SoonestStays({
|
||||
<SectionHeader title={title} subtitle={subtitle} link={link} />
|
||||
{response.data.length ? (
|
||||
<Grids.Stackable>
|
||||
{response.data.map((stay) => (
|
||||
{response.data.map((stay: any) => (
|
||||
<StayCard
|
||||
key={stay.attributes.confirmationNumber}
|
||||
lang={lang}
|
||||
|
||||
@@ -22,7 +22,7 @@ export default function StayCard({ stay, lang }: StayCardProps) {
|
||||
const departDateTime = depart.format("YYYY-MM-DD")
|
||||
|
||||
return (
|
||||
<Link href={bookingUrl ?? ""}>
|
||||
<Link href={bookingUrl}>
|
||||
<article className={styles.stay}>
|
||||
<Image
|
||||
className={styles.image}
|
||||
|
||||
Reference in New Issue
Block a user