import { ReloadOutlined } from "@ant-design/icons";
import { Result, Typography } from "antd";
import BackIcon from "components/Icons/BackIcon";
import { useRouteError } from "react-router-dom";
const { Paragraph, Text } = Typography;
type Error = unknown | any;
export const ErrorPage = () => {
const error: Error = useRouteError();
console.error(error);
return (