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