fix(SW-1111) Use Link
This commit is contained in:
@@ -99,7 +99,7 @@ function HotelCard({
|
|||||||
</Caption>
|
</Caption>
|
||||||
</address>
|
</address>
|
||||||
<Caption color="baseTextMediumContrast" type="underline" asChild>
|
<Caption color="baseTextMediumContrast" type="underline" asChild>
|
||||||
<a
|
<Link
|
||||||
href={`https://www.google.com/maps/dir/?api=1&destination=${hotelData.location.latitude},${hotelData.location.longitude}`}
|
href={`https://www.google.com/maps/dir/?api=1&destination=${hotelData.location.latitude},${hotelData.location.longitude}`}
|
||||||
className={styles.googleMaps}
|
className={styles.googleMaps}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
@@ -111,7 +111,7 @@ function HotelCard({
|
|||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{hotelData.address.streetAddress}, {hotelData.address.city}
|
{hotelData.address.streetAddress}, {hotelData.address.city}
|
||||||
</a>
|
</Link>
|
||||||
</Caption>
|
</Caption>
|
||||||
<div>
|
<div>
|
||||||
<Divider variant="vertical" color="subtle" />
|
<Divider variant="vertical" color="subtle" />
|
||||||
|
|||||||
Reference in New Issue
Block a user