mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-05 13:52:40 +02:00
Header button illumination persists after hover leave #433
This commit is contained in:
parent
8aeaf419d0
commit
8484fb2ad8
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ const DesktopNav = ({ navItems, isScrolled }: any) => {
|
|||
{navItems.map((navItem: any, idx: number) => (
|
||||
<Link
|
||||
onMouseEnter={() => setHovered(idx)}
|
||||
onMouseLeave={() => setHovered(null)}
|
||||
className="relative px-4 py-2 text-neutral-600 dark:text-neutral-300"
|
||||
key={`link=${idx}`}
|
||||
href={navItem.link}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue