From 854c68253524b6ccdad15194c1c3620c76f60e9c Mon Sep 17 00:00:00 2001 From: Ehsan Date: Fri, 11 Oct 2024 00:58:28 +0330 Subject: [PATCH] fix warning console --- components/icons/CalendarTick.js | 64 ++++++++++++++--------------- components/icons/LocationAdd.js | 10 ++--- components/icons/UserEdit.js | 28 ++++++------- components/panel/addDoctor/Step.js | 8 ++-- components/panel/addDoctor/index.js | 2 +- 5 files changed, 56 insertions(+), 56 deletions(-) diff --git a/components/icons/CalendarTick.js b/components/icons/CalendarTick.js index c79d8eb..77394d5 100644 --- a/components/icons/CalendarTick.js +++ b/components/icons/CalendarTick.js @@ -10,78 +10,78 @@ function CalendarTick({ active }) { diff --git a/components/icons/LocationAdd.js b/components/icons/LocationAdd.js index 45249c0..4ab046d 100644 --- a/components/icons/LocationAdd.js +++ b/components/icons/LocationAdd.js @@ -10,21 +10,21 @@ function LocationAdd({ active }) { diff --git a/components/icons/UserEdit.js b/components/icons/UserEdit.js index 1e97ccf..e460c1c 100644 --- a/components/icons/UserEdit.js +++ b/components/icons/UserEdit.js @@ -10,35 +10,35 @@ function UserEdit({ active }) { diff --git a/components/panel/addDoctor/Step.js b/components/panel/addDoctor/Step.js index 65512c1..aadf72b 100644 --- a/components/panel/addDoctor/Step.js +++ b/components/panel/addDoctor/Step.js @@ -4,7 +4,7 @@ import UserEdit from "@/components/icons/UserEdit"; function Step({ value }) { const list = [ - { icon: = 0} />, name: "اطلاعات عمومی" }, + { icon: 0} />, name: "اطلاعات عمومی" }, { icon: = 1} />, name: "اطلاعات مطب" }, { icon: = 2} />, name: "روزهای کاری" }, ]; @@ -16,14 +16,14 @@ function Step({ value }) {
= idx ? "bg-[#5559CE]" : "bg-[#F6F6F6]"}`} + ${value > idx ? "bg-[#5559CE]" : "bg-[#F6F6F6]"}`} > {item.icon}

= idx + value > idx ? "font-bold text-[#5559CE]" : "font-normal text-[#616161]" }`} @@ -34,7 +34,7 @@ function Step({ value }) { {list.length > idx + 1 && ( = idx ? "bg-[#5559CE]" : "bg-[#EFEFEF]" + value > idx ? "bg-[#5559CE]" : "bg-[#EFEFEF]" }`} > )} diff --git a/components/panel/addDoctor/index.js b/components/panel/addDoctor/index.js index f7ebf5b..0335df7 100644 --- a/components/panel/addDoctor/index.js +++ b/components/panel/addDoctor/index.js @@ -42,7 +42,7 @@ function AddDoctorPage() {

- {components[value]} +
{components[value]}
);