From f4c198110c9c3bb477804e708320b3f266d26d43 Mon Sep 17 00:00:00 2001 From: Ehsan Date: Tue, 22 Oct 2024 01:57:51 +0330 Subject: [PATCH] set default value step page panel to 0 --- components/panel/addDoctor/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/panel/addDoctor/index.js b/components/panel/addDoctor/index.js index 2b87ed9..2780201 100644 --- a/components/panel/addDoctor/index.js +++ b/components/panel/addDoctor/index.js @@ -9,7 +9,7 @@ import GeneralInformation from "./listMenu/generalInformation"; import Step from "./Step"; function AddDoctorPage() { - const [value, setValue] = useState(2); + const [value, setValue] = useState(0); const [data, setData] = useState({ general: { name: { value: "", placeholder: "احسان احمدی", isEdit: true },