diff --git a/src/views/Auth/Login/Cellphone/index.js b/src/views/Auth/Login/Cellphone/index.js
index 55afdfd..e3ed02f 100644
--- a/src/views/Auth/Login/Cellphone/index.js
+++ b/src/views/Auth/Login/Cellphone/index.js
@@ -1,5 +1,5 @@
import React, { Component } from "react";
-
+import { Link } from "react-router-dom";
import logo from "../../../../assets/icons/logo.png";
import iran from "../../../../assets/icons/iran.png";
import pic from "../../../../assets/images/pic.png";
@@ -78,9 +78,16 @@ export default class Cellphone extends Component {
-
+
شرایط استفاده و حریم خصوصی
-
+
@@ -139,12 +146,17 @@ export default class Cellphone extends Component {
ادامه
-
-
شرایط استفاده و حریم خصوصی
-
+ شرایط استفاده و حریم خصوصی
+
) : null}
>
diff --git a/src/views/Auth/Profile/Input/index.js b/src/views/Auth/Profile/Input/index.js
index cd453db..9f69ff6 100644
--- a/src/views/Auth/Profile/Input/index.js
+++ b/src/views/Auth/Profile/Input/index.js
@@ -1,8 +1,9 @@
-import React from "react";
+import React, { useState } from "react";
import TextField from "@material-ui/core/TextField";
import { makeStyles } from "@material-ui/core/styles";
export default function FormPropsTextFields(props) {
+ const [value, setValue] = useState(props.defaultValue[props.name]);
const useStyles = makeStyles((theme) => ({
root: {
"& .MuiTextField-root": {
@@ -19,7 +20,7 @@ export default function FormPropsTextFields(props) {
}));
const classes = useStyles();
- const { parent, defaultValue, maxLength, onInput, variant, required } = props;
+ const { parent, maxLength, onInput, variant, required } = props;
return (
diff --git a/src/views/Auth/Profile/MultipleSelector/index.js b/src/views/Auth/Profile/MultipleSelector/index.js
index 6333fd5..ef0237b 100644
--- a/src/views/Auth/Profile/MultipleSelector/index.js
+++ b/src/views/Auth/Profile/MultipleSelector/index.js
@@ -65,7 +65,6 @@ export default function MultipleSelector(props) {
className={`${classes.formControl} mobile-multiple-selector`}
>
{label}
- {console.log(selectedOptions)}
) : null}
- {console.log(this.props.province)}