authelia/web/src/views/LoadingPage/LoadingPage.tsx
James Elliott aac4c4772c
feat(web): i18n asset overrides (#3040)
This allows overriding translation files in folders with lowercase RFC5646 / BCP47 Format language codes. This also fixes an issues where languages which don't expressly match the language code specified due to having a variant will also match the existing codes.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-04-04 12:15:26 +10:00

13 lines
320 B
TypeScript

import React from "react";
import { useTranslation } from "react-i18next";
import BaseLoadingPage from "@views/LoadingPage/BaseLoadingPage";
const LoadingPage = function () {
const { t: translate } = useTranslation();
return <BaseLoadingPage message={translate("Loading")} />;
};
export default LoadingPage;