import { Box, Button, Stack, Typography } from "@mui/material"; import { useTheme } from "@emotion/react"; import { useNavigate } from "react-router-dom"; import { useDispatch } from "react-redux"; import { clearAuthState } from "../../Features/Auth/authSlice.js"; import Background from "@/assets/Images/background-grid.svg?react"; import ConfirmIcon from "@/assets/icons/check-outlined.svg?react"; import Logo from "@/assets/icons/checkmate-icon.svg?react"; import IconBox from "@/Components/v1/IconBox/index.jsx"; import { Trans, useTranslation } from "react-i18next"; import "./index.css"; const NewPasswordConfirmed = () => { const theme = useTheme(); const navigate = useNavigate(); const dispatch = useDispatch(); const { t } = useTranslation(); const handleNavigate = () => { dispatch(clearAuthState()); navigate("/login"); }; return ( {t("common.appName")} .MuiStack-root": { border: 1, borderRadius: theme.spacing(5), borderColor: theme.palette.primary.lowContrast, backgroundColor: theme.palette.primary.main, padding: { xs: theme.spacing(12), sm: theme.spacing(20), }, }, }} > {t("auth.forgotPassword.heading")} {t("auth.forgotPassword.subheadings.stepFour")} ), }} /> ); }; export default NewPasswordConfirmed;