From de24948c5786d0b1d1e6a7c39bf40fd7d1e3ab38 Mon Sep 17 00:00:00 2001
From: mahdi
Date: Sat, 18 Jun 2022 11:35:43 +0430
Subject: [PATCH] update src/views/Auth/Desktop/index.js and
src/views/Auth/SignUp/index.js
---
src/views/Auth/Desktop/index.js | 14 +++++++-------
src/views/Auth/SignUp/index.js | 4 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/views/Auth/Desktop/index.js b/src/views/Auth/Desktop/index.js
index 5176d06..b9d34b0 100644
--- a/src/views/Auth/Desktop/index.js
+++ b/src/views/Auth/Desktop/index.js
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from "react";
import { connect } from "react-redux";
-import {publicApi} from '../../../redux/actions';
+import { publicApi } from "../../../redux/actions";
import { useNavigate } from "react-router-dom";
import SignUp from "../SignUp";
import Button from "../../../components/Button";
@@ -10,13 +10,13 @@ import logoIcon from "../SignUp/assets/logo.svg";
import bgImage from "./bg.svg";
import arrowIcon from "../../../assets/icons/dropdown-blue.svg";
-export const Desktop = ({setHeaderOptions}) => {
+export const Desktop = ({ setHeaderOptions }) => {
const [phase, setPhase] = useState("manage");
const navigate = useNavigate();
useEffect(() => {
- setHeaderOptions({show: false});
- },[]);
+ setHeaderOptions({ show: false });
+ }, []);
const UserMangement = () => {
return (
@@ -39,21 +39,21 @@ export const Desktop = ({setHeaderOptions}) => {
);
diff --git a/src/views/Auth/SignUp/index.js b/src/views/Auth/SignUp/index.js
index c4793c1..80ebbd4 100644
--- a/src/views/Auth/SignUp/index.js
+++ b/src/views/Auth/SignUp/index.js
@@ -6,7 +6,6 @@ import Timer from "../../../components/Timer";
import onInput from "../../../utils/onInput";
import Loading from "../../../components/Loading";
-
import { connect } from "react-redux";
import { user, publicApi } from "../../../redux/actions";
import _ from "lodash";
@@ -136,6 +135,7 @@ function SignUp({
}
}, [loginFlag]);
const light = theme === "light";
+
return (
- شماره خود را اشتباه وارد کردید؟{" "}
+ شماره خود را اشتباه وارد کردید؟
setLevel("phonenumber")}