feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
This commit is contained in:
@@ -56,7 +56,9 @@ export default function HotelMapContent({
|
||||
<Caption asChild>
|
||||
<span>
|
||||
{intl.formatMessage(
|
||||
{ id: "{distanceInKm} km" },
|
||||
{
|
||||
defaultMessage: "{distanceInKm} km",
|
||||
},
|
||||
{
|
||||
distanceInKm: poi.distance,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user