import {Button, Stack, Typography} from "@mui/material"; import Message from "@/core/components/Messages"; import {useTranslations} from "next-intl"; const WithoutAuthComponent = ({ backUrlDecodedPath }) => { const t = useTranslations(); return ( {t("Authorization.typography_your_login_is_valid_and_you_do_not_need_to_login_again")} {t("Authorization.typography_redirect_to")}{" "} {backUrlDecodedPath ? t("Authorization.typography_routing_previuos_page") : t("Authorization.typography_routing_dashbaord_page")} } /> ); }; export default WithoutAuthComponent;