Update KcApp.tsx
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
This commit is contained in:
parent
92abd21618
commit
9f2e4438bd
@ -31,8 +31,8 @@ export default function App(props: { kcContext: KcContext; }) {
|
|||||||
|
|
||||||
const i18n = useI18n({ kcContext });
|
const i18n = useI18n({ kcContext });
|
||||||
|
|
||||||
//NOTE: Locales not yet downloaded
|
|
||||||
if (i18n === null) {
|
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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user