From 2f49c9e8c7e31b2850066edd3c7579816e4920a1 Mon Sep 17 00:00:00 2001 From: Ehsan Date: Fri, 11 Oct 2024 21:17:46 +0330 Subject: [PATCH] set default state 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 b8ff37f..4e737c3 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: "احسان احمدی", isEdit: false },