diff --git a/src/components/home/TopProfessionals.tsx b/src/components/home/TopProfessionals.tsx index f689de7..c6a2eef 100644 --- a/src/components/home/TopProfessionals.tsx +++ b/src/components/home/TopProfessionals.tsx @@ -16,7 +16,6 @@ interface ProfessionalCardProps { imageUrl: string; isVerified: boolean; rating: number | null; - profileLink: string; } function ProfessionalCard({ @@ -28,7 +27,6 @@ function ProfessionalCard({ imageUrl, isVerified, rating, - profileLink, }: ProfessionalCardProps) { const starCount = rating ? Math.round(rating) : 0; const [imgLoaded, setImgLoaded] = useState(false); @@ -37,8 +35,7 @@ function ProfessionalCard({ const INITIAL_TAG_COUNT = 4; return ( - -
+
{/* Image */}
{!imgLoaded && !isPlaceholder && ( @@ -149,7 +146,6 @@ function ProfessionalCard({ )}
- ); } @@ -427,7 +423,6 @@ export function TopProfessionals({ content }: { content?: TopProfessionalsConten imageUrl={professional.imageUrl} isVerified={professional.isVerified} rating={professional.rating} - profileLink={`/user/profile/${professional.slug}`} /> )) ) : (