File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -102,16 +102,12 @@ const FloatingDockDesktop = ({
102102 let mouseX = useMotionValue ( Infinity ) ;
103103 return (
104104 < motion . div
105- // onMouseMove={(e) => mouseX.set(e.pageX)}
106- // onMouseLeave={() => mouseX.set(Infinity)}
107- { ...{
108- onMouseMove : ( e : MouseEvent ) => mouseX . set ( e . pageX ) ,
109- onMouseLeave : ( e : MouseEvent ) => mouseX . set ( Infinity ) ,
110- className : cn (
111- "mx-auto hidden md:flex h-16 gap-4 items-end rounded-2xl bg-gray-50 dark:bg-neutral-900 px-4 pb-3" ,
112- className
113- )
114- } }
105+ onMouseMove = { ( e ) => mouseX . set ( e . pageX ) }
106+ onMouseLeave = { ( ) => mouseX . set ( Infinity ) }
107+ className = { cn (
108+ "mx-auto hidden md:flex h-16 gap-4 items-end rounded-2xl bg-gray-50 dark:bg-neutral-900 px-4 pb-3" ,
109+ className
110+ ) }
115111 >
116112 { items . map ( ( item ) => (
117113 < IconContainer mouseX = { mouseX } key = { item . title } { ...item } />
You can’t perform that action at this time.
0 commit comments