diff --git a/components/appointment/information/Head.js b/components/appointment/information/Head.js index 76a84e3..efcf52b 100644 --- a/components/appointment/information/Head.js +++ b/components/appointment/information/Head.js @@ -3,7 +3,7 @@ import { imageUrl } from "@/helper"; function Head({ doctor }) { // تبدیل img array به string - const doctorImage = imageUrl(doctor?.img?.[0]?.url, "/default-doctor.jpg"); + const doctorImage = imageUrl(doctor?.img?.[0]?.url, "/assets/images/doctor.png"); // تبدیل specialties array به string const expertiseText = doctor?.specialties diff --git a/components/appointment/location/Head.js b/components/appointment/location/Head.js index a8a4dfa..d578e4d 100644 --- a/components/appointment/location/Head.js +++ b/components/appointment/location/Head.js @@ -3,7 +3,7 @@ import { imageUrl } from "@/helper"; function Head({ doctor }) { // تبدیل img array به string - const doctorImage = imageUrl(doctor?.img?.[0]?.url, "/default-doctor.jpg"); + const doctorImage = imageUrl(doctor?.img?.[0]?.url, "/assets/images/doctor.png"); // تبدیل specialties array به string const expertiseText = doctor?.specialties