summaryrefslogtreecommitdiff
path: root/front/src/Authentication/ForbiddenPage.tsx
blob: 477940de6b69cb177e19def3df7f997d4a00d825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { useContext } from "react";
import { LanguageContext } from "../Locales/Context";
import { GetLocalizedString } from "../Locales/Locales";

function ForbidenPage() {
    const lang = useContext(LanguageContext);
    return (
        <div>
            <h1> { GetLocalizedString("Forbidden", lang) } </h1>
            <p> { GetLocalizedString("*forbidden*", lang) } </p>
        </div>
    );
}

export default ForbidenPage;