fix(ui): add fallback for region display name

pull/992/head
sct 4 years ago
parent 29757db3a9
commit f9c83e14e5

@ -146,7 +146,8 @@ const RegionSelector: React.FC<RegionSelectorProps> = ({
> >
{intl.formatDisplayName(region.iso_3166_1, { {intl.formatDisplayName(region.iso_3166_1, {
type: 'region', type: 'region',
})} fallback: 'none',
}) ?? region.english_name}
</span> </span>
{selected && ( {selected && (
<span <span

Loading…
Cancel
Save