Skip to content

Commit

Permalink
🐛 Fix pull request issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Meierschlumpf committed Jun 11, 2023
1 parent 40618cf commit e29ba64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions public/locales/en/widgets/location.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
"select": "Select {{city}}, {{countryCode}}"
},
"population": {
"fallback": "Unknown",
"count": "{{count}} people"
"fallback": "Unknown"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@ const CitySelectModal = ({ opened, closeModal, query, onCitySelected }: CitySele
</td>
<td>
{city.population ? (
<Text style={{ whiteSpace: 'nowrap' }}>
{t('modal.table.population.count', { count: city.population })}
</Text>
<Text style={{ whiteSpace: 'nowrap' }}>{city.population}</Text>
) : (
<Text color="dimmed"> {t('modal.table.population.fallback')}</Text>
)}
Expand Down

0 comments on commit e29ba64

Please sign in to comment.