mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +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) => (
|
{navItems.map((navItem: any, idx: number) => (
|
||||||
<Link
|
<Link
|
||||||
onMouseEnter={() => setHovered(idx)}
|
onMouseEnter={() => setHovered(idx)}
|
||||||
|
onMouseLeave={() => setHovered(null)}
|
||||||
className="relative px-4 py-2 text-neutral-600 dark:text-neutral-300"
|
className="relative px-4 py-2 text-neutral-600 dark:text-neutral-300"
|
||||||
key={`link=${idx}`}
|
key={`link=${idx}`}
|
||||||
href={navItem.link}
|
href={navItem.link}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue