import { Button, Typography } from "@mui/material"; import { useRouter } from "next/router"; import Message from "@/core/components/Messages"; import { NextLinkComposed } from "@/core/components/LinkRouting"; import {useTranslations} from "next-intl"; const WithAuthComponent = () => { const router = useRouter(); const t = useTranslations(); return ( {t("Authorization.typography_your_access_to_this_page_has_expired_Please_login_again")} } actions={ <> } /> ); }; export default WithAuthComponent;