Files
frigate/web/src/pages/NoMatch.tsx
T

20 lines
425 B
TypeScript
Raw Normal View History

import Heading from "@/components/ui/heading";
2024-04-12 06:31:30 -06:00
import { useEffect } from "react";
import { useTranslation } from "react-i18next";
function NoMatch() {
const { t } = useTranslation(["common"]);
2024-04-12 06:31:30 -06:00
useEffect(() => {
document.title = t("notFound.documentTitle");
}, [t]);
2024-04-12 06:31:30 -06:00
return (
<>
<Heading as="h2">{t("notFound.title")}</Heading>
<p>{t("notFound.desc")}</p>
</>
);
}
export default NoMatch;