[WEB-1670] style: fix tab highlights on user activity page. (#4898)

This commit is contained in:
Prateek Shourya
2024-06-20 20:07:23 +05:30
committed by GitHub
parent c0ad5952df
commit 8d3755c433

View File

@@ -28,7 +28,7 @@ const pathname = usePathname();
<Link key={tab.route} href={`/${workspaceSlug}/profile/${userId}/${tab.route}`}>
<span
className={`flex whitespace-nowrap border-b-2 p-4 text-sm font-medium outline-none ${
pathname === `/${workspaceSlug}/profile/${userId}${tab.selected}`
pathname === `/${workspaceSlug}/profile/${userId}${tab.selected}/`
? "border-custom-primary-100 text-custom-primary-100"
: "border-transparent"
}`}