diff --git a/components/panel/addDoctor/index.js b/components/panel/addDoctor/index.js index 4e737c3..ca3eeb7 100644 --- a/components/panel/addDoctor/index.js +++ b/components/panel/addDoctor/index.js @@ -37,7 +37,6 @@ function AddDoctorPage() { { name: "پنج شنبه", morning_time: ["", ""], evening_time: ["", ""] }, ], }); - console.log(data); const components = [ -
{components[value]}
+
{components[value]}
); diff --git a/components/panel/addDoctor/listMenu/generalInformation/form/index.js b/components/panel/addDoctor/listMenu/generalInformation/form/index.js index d756e5f..a9b0e52 100644 --- a/components/panel/addDoctor/listMenu/generalInformation/form/index.js +++ b/components/panel/addDoctor/listMenu/generalInformation/form/index.js @@ -8,6 +8,7 @@ import EditField from "@/app/component/EditField"; import ContentText from "@/app/component/ContentText"; import ArrowLeftPA from "@/components/icons/ArrowLeftPA"; import AutoCompleteSelect from "@/app/component/element/AutoCompleteSelect"; +import { checkAllValues } from "@/helper"; function Form({ setValue, parent, data, setData }) { const changeData = (value, type, name) => @@ -91,8 +92,9 @@ function Form({ setValue, parent, data, setData }) {