diff --git a/src/components/login-welfare-services/sendToken.jsx b/src/components/login-welfare-services/sendToken.jsx index bd7e466..4d14dd1 100644 --- a/src/components/login-welfare-services/sendToken.jsx +++ b/src/components/login-welfare-services/sendToken.jsx @@ -1,4 +1,4 @@ -// import Notifications from "@/core/components/notifications"; +import Notifications from "@/core/components/notifications"; import StyledForm from "@/core/components/StyledForm"; import { LOGIN } from "@/core/data/apiRoutes"; import CenterLayout from "@/layouts/CenterLayout"; diff --git a/src/components/register-navy/SendToken.jsx b/src/components/register-navy/SendToken.jsx index d4156b8..fcba709 100644 --- a/src/components/register-navy/SendToken.jsx +++ b/src/components/register-navy/SendToken.jsx @@ -1,8 +1,9 @@ +import Notifications from "@/core/components/notifications"; import StyledForm from "@/core/components/StyledForm"; import { REGISTER } from "@/core/data/apiRoutes"; import CenterLayout from "@/layouts/CenterLayout"; import FullPageLayout from "@/layouts/FullPageLayout"; -// import useDirection from "@/lib/app/hooks/useDirection"; +import useDirection from "@/lib/app/hooks/useDirection"; import useUser from "@/lib/app/hooks/useUser"; import LoginIcon from "@mui/icons-material/Login"; import { @@ -20,7 +21,7 @@ import * as Yup from "yup"; const SendToken = ({ PhoneNumber, nationalId, navganId, typeId }) => { const t = useTranslations(); - // const { directionApp } = useDirection(); + const { directionApp } = useDirection(); const { setToken } = useUser(); const initialValues = {