Skip to content

Commit bb549c4

Browse files
authored
Update StickyNavbar.tsx
1 parent 1627876 commit bb549c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/layout/navbar/utils/StickyNavbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const StickyNavbar = () => {
118118
{label}
119119
<div
120120
className={`w-10/12 max-lg:hidden mx-auto mt-1 h-[1px] scale-0 transition ease-in duration-200 ${
121-
isActive && "scale-100 bg-white"
121+
isActive && interactionState.hovered !== id && "scale-100 bg-white"
122122
} ${interactionState.hovered === id && "scale-100 bg-blue-500"}`}
123123
/>
124124
</a>

0 commit comments

Comments
 (0)