From 1b2573e46079d45a857bacd99d36c64598777c0e Mon Sep 17 00:00:00 2001 From: Ehsan Date: Mon, 14 Jul 2025 12:07:16 +0330 Subject: [PATCH] remove default state --- 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 82ef8fd..85d13ee 100644 --- a/components/panel/addDoctor/index.js +++ b/components/panel/addDoctor/index.js @@ -10,7 +10,7 @@ import Step from "./Step"; import { defaultState } from "./defaultState"; function AddDoctorPage() { - const [value, setValue] = useState(2); + const [value, setValue] = useState(0); const [data, setData] = useState(defaultState); const resetData = () => {