handle disable button if no data include in page add doctor
This commit is contained in:
@@ -37,7 +37,6 @@ function AddDoctorPage() {
|
||||
{ name: "پنج شنبه", morning_time: ["", ""], evening_time: ["", ""] },
|
||||
],
|
||||
});
|
||||
console.log(data);
|
||||
|
||||
const components = [
|
||||
<GeneralInformation
|
||||
@@ -71,7 +70,7 @@ function AddDoctorPage() {
|
||||
md:pt-[30px] pb-0 md:pb-[12px] lg:pb-[24px] px-0 md:px-[14px] lg:px-[26px] xl:px-[56px]"
|
||||
>
|
||||
<Step value={value} />
|
||||
<div className="mt-[32px] px-[56px]">{components[value]}</div>
|
||||
<div className="mt-[32px]">{components[value]}</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user