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

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
This commit is contained in:
Plane Bot
2024-06-20 20:18:07 +05:30
committed by GitHub
parent 2a7f9aa718
commit de45465f69

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"
}`}