save state selected in modal filter, filter list with location selected, save data sort, filter list with sort point, real all url from .env file, change name of value category and specialties to persian and change functional find data with field

This commit is contained in:
Ehsan
2025-09-08 08:08:35 +03:30
parent ded164fcb9
commit 9f53daa398
19 changed files with 186 additions and 141 deletions
+4 -2
View File
@@ -3,12 +3,14 @@ import Layout from "@/components/layout/StLayout";
import { fetchReq } from "@/lib/req";
async function Clinic({ params: { slug } }) {
const API_URL = process.env.NEXT_PUBLIC_API_URL;
const reqClinics = await fetchReq(
`https://back-dev.clinic-pro.ir/api/v1/clinic/${slug}`
`${API_URL}/api/v1/clinic/${slug}`
);
const reqDoctors = await fetchReq(
"https://back-dev.clinic-pro.ir/api/v1/doctors"
`${API_URL}/api/v1/doctors`
);
const clinic = reqClinics;