From 4c945b1898558d3c01e309ae48b60517e9f30cb0 Mon Sep 17 00:00:00 2001 From: Ehsan Date: Wed, 16 Oct 2024 21:02:20 +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 f48dc7d..0662a71 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 },