change style of images and fix show img head and insurances in mobile size in clinic page
This commit is contained in:
+1
-8
@@ -24,24 +24,17 @@ export default async function Clinics({ searchParams }) {
|
||||
else if (matchedCity && matchedCity.id !== "600")
|
||||
newSearchParams.city = matchedCity.name;
|
||||
|
||||
console.log("newSearchParams");
|
||||
console.log(newSearchParams);
|
||||
|
||||
const params = {
|
||||
...buildClinicParams(newSearchParams),
|
||||
page: 1,
|
||||
limit: 12,
|
||||
};
|
||||
console.log("params");
|
||||
console.log(params);
|
||||
|
||||
// Req
|
||||
clinics = await fetchReq(`${API_URL}/api/v1/clinics`, {
|
||||
params,
|
||||
});
|
||||
} catch (err) {
|
||||
console.log(`Error fetching doctors: ${err}`);
|
||||
}
|
||||
} catch (err) {}
|
||||
|
||||
return (
|
||||
<Layout name="/clinics">
|
||||
|
||||
Reference in New Issue
Block a user