design modal map in step 2
This commit is contained in:
@@ -9,7 +9,7 @@ import GeneralInformation from "./listMenu/generalInformation";
|
||||
import Step from "./Step";
|
||||
|
||||
function AddDoctorPage() {
|
||||
const [value, setValue] = useState(2);
|
||||
const [value, setValue] = useState(1);
|
||||
const [data, setData] = useState({
|
||||
general: {
|
||||
name: { value: "", placeholder: "احسان احمدی", isEdit: true },
|
||||
@@ -25,7 +25,7 @@ function AddDoctorPage() {
|
||||
degree: { value: "", isEdit: true },
|
||||
},
|
||||
office: {
|
||||
address: { value: "", isEdit: true },
|
||||
address: { value: "مپ", isEdit: true },
|
||||
phone: { value: "", placeholder: 1741025645, isEdit: true },
|
||||
office_number1: { value: "", isEdit: true },
|
||||
office_number2: { value: "", isEdit: true },
|
||||
@@ -83,7 +83,6 @@ function AddDoctorPage() {
|
||||
},
|
||||
],
|
||||
});
|
||||
console.log(data);
|
||||
|
||||
const components = [
|
||||
<GeneralInformation
|
||||
|
||||
Reference in New Issue
Block a user