add notification in pages that do not have that
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user