From b2d2567a6c4bdcd6219b0e377ced27b8e43f7c78 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Fri, 10 Apr 2026 17:10:10 +0530 Subject: [PATCH] fix: update expertise tag display to wrap and adjust initial tag count to 2 --- src/app/(user)/user/profiles/page.tsx | 2 +- src/components/home/TopProfessionals.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/(user)/user/profiles/page.tsx b/src/app/(user)/user/profiles/page.tsx index 22495ba..4a399ad 100644 --- a/src/app/(user)/user/profiles/page.tsx +++ b/src/app/(user)/user/profiles/page.tsx @@ -376,7 +376,7 @@ function ProfileCard({ profile, resolvedAvatarUrl }: ProfileCardProps) { {expertiseTags.length > 0 && (

Expertise:

-
+
{(showAllTags ? expertiseTags : expertiseTags.slice(0, INITIAL_TAG_COUNT)).map((tag, index) => ( @@ -112,7 +112,7 @@ function ProfessionalCard({

Expertise:

-
+
{expertise.slice(0, INITIAL_TAG_COUNT).map((tag, index) => (