diff --git a/src/views/Auth/Desktop/index.js b/src/views/Auth/Desktop/index.js index 8942c93..402e877 100644 --- a/src/views/Auth/Desktop/index.js +++ b/src/views/Auth/Desktop/index.js @@ -1,90 +1,29 @@ -import React, { useState, useEffect } from "react"; +import { useState, useEffect, useMemo, useCallback } from "react"; import { connect } from "react-redux"; import { publicApi } from "../../../redux/actions"; import { useNavigate } from "react-router-dom"; import SignUp from "../SignUp"; -import Button from "../../../components/Button"; //assets -import logoIcon from "../SignUp/assets/logo.svg"; import bgImage from "./bg.svg"; -import arrowIcon from "../../../assets/icons/dropdown-blue.svg"; -export const Desktop = ({ setHeaderOptions }) => { - const [phase, setPhase] = useState("signup"); +export const Desktop = ({ setHeaderOptions, level, setLevel}) => { const navigate = useNavigate(); useEffect(() => { setHeaderOptions({ show: false }); }, []); - const UserMangement = () => { - return ( -
- {window.t(" کاربر گرامی لطفا یکی از دوگزینه زیر را انتخاب نمائید.")}
-
- {window.t("درصورتی که عضو نیستید روی دکمه ثبت نام بزنید")}
-