diff --git a/app/panel/(layout)/layout.js b/app/panel/(layout)/layout.js index c4362db..55ba72b 100644 --- a/app/panel/(layout)/layout.js +++ b/app/panel/(layout)/layout.js @@ -11,7 +11,7 @@ import BgGray from "@/components/layoutPanel/sidebar/BgGray"; function LayoutPanel({ children }) { const pathname = usePathname(); const [active, setActive] = useState(false); - const [open, setOpen] = useState(false); + const [open, setOpen] = useState(true); const [loading, setLoading] = useState(true); useEffect(() => { diff --git a/components/panel/addDoctor/index.js b/components/panel/addDoctor/index.js index e3d1f24..b713eb4 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(1); + const [value, setValue] = useState(0); const [data, setData] = useState({ general: { name: { value: "احسان احمدی", isEdit: false }, diff --git a/components/panel/userAccount/account/form/index.js b/components/panel/userAccount/account/form/index.js index 72564f6..cc3853f 100644 --- a/components/panel/userAccount/account/form/index.js +++ b/components/panel/userAccount/account/form/index.js @@ -36,8 +36,8 @@ function Form() { }); return ( -