From 046dadbae256916c9ae09837733e468fa15c3e1c Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Tue, 6 Sep 2022 01:40:27 +0100 Subject: [PATCH] Fixes labels for v2 nav being blank (#4190) --- packages/ui/v2/core/Shell.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ui/v2/core/Shell.tsx b/packages/ui/v2/core/Shell.tsx index 70d555701a..9ff4279e58 100644 --- a/packages/ui/v2/core/Shell.tsx +++ b/packages/ui/v2/core/Shell.tsx @@ -492,10 +492,10 @@ const NavigationItem: React.FC<{ aria-current={current ? "page" : undefined} /> )} - {!isLocaleReady ? ( - - ) : ( + {isLocaleReady ? ( {t(item.name)} + ) : ( + )} @@ -563,7 +563,7 @@ const MobileNavigationItem: React.FC<{ aria-current={current ? "page" : undefined} /> )} - {!isLocaleReady ? ( + {isLocaleReady ? ( {t(item.name)} ) : (