diff --git a/frontend/src/container/Licenses/index.tsx b/frontend/src/container/Licenses/index.tsx index 351d78a636..cb35c0b5ec 100644 --- a/frontend/src/container/Licenses/index.tsx +++ b/frontend/src/container/Licenses/index.tsx @@ -7,14 +7,14 @@ import ApplyLicenseForm from './ApplyLicenseForm'; import ListLicenses from './ListLicenses'; function Licenses(): JSX.Element { - const { t } = useTranslation(['licenses']); + const { t, ready: translationsReady } = useTranslation(['licenses']); const { data, isError, isLoading, refetch } = useLicense(); if (isError || data?.error) { return {data?.error}; } - if (isLoading || data?.payload === undefined) { + if (isLoading || data?.payload === undefined || !translationsReady) { return ; }