From f9c83e14e52a57d6865307b3324a61c04a77a541 Mon Sep 17 00:00:00 2001 From: sct Date: Mon, 22 Feb 2021 12:13:56 +0000 Subject: [PATCH] fix(ui): add fallback for region display name --- src/components/RegionSelector/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/RegionSelector/index.tsx b/src/components/RegionSelector/index.tsx index 3c27a419..49db74b1 100644 --- a/src/components/RegionSelector/index.tsx +++ b/src/components/RegionSelector/index.tsx @@ -146,7 +146,8 @@ const RegionSelector: React.FC = ({ > {intl.formatDisplayName(region.iso_3166_1, { type: 'region', - })} + fallback: 'none', + }) ?? region.english_name} {selected && (