fix: SW-981 Fixed distance to center value
This commit is contained in:
@@ -25,7 +25,7 @@ export default async function IntroSection({
|
||||
const { distanceToCentre } = location
|
||||
const formattedDistanceText = intl.formatMessage(
|
||||
{ id: "Distance in km to city centre" },
|
||||
{ number: distanceToCentre }
|
||||
{ number: distanceToCentre / 1000 }
|
||||
)
|
||||
const lang = getLang()
|
||||
const formattedLocationText = `${streetAddress}, ${city} (${formattedDistanceText})`
|
||||
|
||||
Reference in New Issue
Block a user