- {doctor?.name}
+ {doctorTitle(doctor?.name)}
{isUnclaimed && (
diff --git a/components/doctor/index.js b/components/doctor/index.js
index 4eb0965..7f13cf1 100644
--- a/components/doctor/index.js
+++ b/components/doctor/index.js
@@ -6,6 +6,7 @@ import Share from "./detailDoctor/Share";
import CustomLoading from "@/app/component/loading/Custom";
import Faq from "@/components/specialties/detail/Faq";
import specialtiesData from "@/data/specialties.json";
+import { doctorTitle } from "@/helper";
// مقصد تمیز صفحهٔ فرود تخصص؛ اگر تخصص slug نداشت، لیست پزشکان با کوئری قدیمی.
const specialtyHref = (name) => {
@@ -31,7 +32,7 @@ function DoctorPage({ doctor, comments, rateAggregate, addresses, bookableAddres
))}
-
{doctor?.name}
+
{doctorTitle(doctor?.name)}
diff --git a/components/doctor/poster/PosterLight.js b/components/doctor/poster/PosterLight.js
index fa672df..c59075d 100644
--- a/components/doctor/poster/PosterLight.js
+++ b/components/doctor/poster/PosterLight.js
@@ -4,6 +4,7 @@ import DoctorAvatar from "@/app/component/DoctorAvatar";
import QrImg from "./QrImg";
import SiteLogo from "./SiteLogo";
import { getStateInfoClient } from "@/lib/getStateInfoClient";
+import { doctorTitle } from "@/helper";
import StarDI from "@/components/icons/StarDI";
@@ -83,7 +84,7 @@ function PosterLight({ data, onQrReady }) {
- {data?.name}
+ {doctorTitle(data?.name)}
diff --git a/components/doctor/poster/index.js b/components/doctor/poster/index.js
index 67974c7..1eb5a47 100644
--- a/components/doctor/poster/index.js
+++ b/components/doctor/poster/index.js
@@ -4,6 +4,7 @@ import DoctorAvatar from "@/app/component/DoctorAvatar";
import QrImg from "./QrImg";
import SiteLogoBase from "./SiteLogo";
import { getStateInfoClient } from "@/lib/getStateInfoClient";
+import { doctorTitle } from "@/helper";
import StarDI from "@/components/icons/StarDI";
import ClipBoard from "@/components/icons/ClipBoard";
@@ -124,7 +125,7 @@ function Poster({ data, onQrReady }) {
- {data?.name}
+ {doctorTitle(data?.name)}
{specialties.map((s, i) => (