From 9f2e4438bd54648767571be7ef47a777bc6565f8 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sat, 4 Mar 2023 16:17:39 +0100 Subject: [PATCH] Update KcApp.tsx Signed-off-by: Joseph Garrone --- src/keycloak-theme/KcApp.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keycloak-theme/KcApp.tsx b/src/keycloak-theme/KcApp.tsx index 514b01e..57d320f 100644 --- a/src/keycloak-theme/KcApp.tsx +++ b/src/keycloak-theme/KcApp.tsx @@ -31,8 +31,8 @@ export default function App(props: { kcContext: KcContext; }) { const i18n = useI18n({ kcContext }); - //NOTE: Locales not yet downloaded if (i18n === null) { + //NOTE: Locales not yet downloaded, we could as well display a loading progress but it's usually a matter of milliseconds. return null; }