fix(doctors): improve filter performance and resolve modal closing issues
This commit is contained in:
@@ -3,7 +3,7 @@ import specialties from "@/data/specialties.json";
|
||||
import Link from "next/link";
|
||||
|
||||
function FrequentSearches() {
|
||||
const childrenList = specialties.filter((item) => item.parent);
|
||||
const childrenList = specialties.filter((item) => item.parent_id);
|
||||
|
||||
return (
|
||||
<div className="flex items-center justify-center gap-[8px] sm:gap-[10px] md:gap-[13px] lg:gap-[16px] w-full">
|
||||
|
||||
Reference in New Issue
Block a user