handle limit page dashboard & change header profile user & get data from api in page clinics & clinic item and doctor item

This commit is contained in:
Ehsan
2025-06-01 01:08:25 +03:30
parent 80c74361eb
commit e292176a61
45 changed files with 223 additions and 258 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import moment from "jalali-moment";
import { toast } from "react-toastify";
import specialties from "@/data/specialties.json";
export const numberToArStyle = (num) => num.toLocaleString("ar-AE");
export const numberToArStyle = (num) => num?.toLocaleString("ar-AE") || "";
export const isActiveURL = (link, name) => link === name;