change function and design page doctors & signin & signup & home & specialties & helper
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import { frequentSearches } from "@/constans";
|
||||
import { filterList } from "@/helper";
|
||||
import { Button } from "@mui/material";
|
||||
import specialties from "@/data/specialties.json";
|
||||
import Link from "next/link";
|
||||
|
||||
function FrequentSearches() {
|
||||
const childrenList = specialties.filter((item) => item.parent);
|
||||
console.log(childrenList);
|
||||
|
||||
return (
|
||||
<div className="flex items-center justify-center gap-[8px] sm:gap-[10px] md:gap-[13px] lg:gap-[16px] w-full">
|
||||
@@ -20,7 +17,6 @@ function FrequentSearches() {
|
||||
href={{
|
||||
pathname: "/doctors",
|
||||
query: {
|
||||
category: item.parent,
|
||||
specialties: item.id,
|
||||
},
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user