chore: codify React component style
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import { Stack, Title } from "@mantine/core";
|
||||
import type { FC } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Link } from "react-router";
|
||||
import { Button, StateView } from "@/shared/ui";
|
||||
|
||||
export function NotFoundPage() {
|
||||
const NotFoundPage: FC = () => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<Stack>
|
||||
<Title order={1}>{t("notFound.title")}</Title>
|
||||
@@ -19,4 +21,6 @@ export function NotFoundPage() {
|
||||
/>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export { NotFoundPage };
|
||||
|
||||
Reference in New Issue
Block a user