mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-09-27 00:39:44 +00:00
20 lines
540 B
TypeScript
20 lines
540 B
TypeScript
// Copyright 2024 New Vector Ltd.
|
|
// Copyright 2023, 2024 The Matrix.org Foundation C.I.C.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
// Please see LICENSE in the repository root for full details.
|
|
|
|
import { Alert } from "@vector-im/compound-web";
|
|
import type { ReactNode } from "react";
|
|
import { Translation } from "react-i18next";
|
|
|
|
const NotFound: React.FC = () => (
|
|
<Translation>
|
|
{(t): ReactNode => (
|
|
<Alert type="critical" title={t("frontend.not_found_alert_title")} />
|
|
)}
|
|
</Translation>
|
|
);
|
|
|
|
export default NotFound;
|