You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Next.js (latest) application, there is a bug because the property mouseX is undefined (line 86, dock.tsx). See the declare function useTransform in index.d.tsfile. input: MotionValue<I> must be an array like the example : const z = useTransform([x, y], ([latestX, latestY]) => latestX * latestY)
So, to resolve this bug, write mouseX = [] instead of mouseX.
@jercomio You probably didn't pass "use client" in your page or component. If you pass a fazio array it should probably work, but you will lose the effects of the dock.
For Next.js (latest) application, there is a bug because the property
mouseX
is undefined (line 86, dock.tsx). See the declare functionuseTransform
inindex.d.ts
file.input: MotionValue<I>
must be an array like the example :const z = useTransform([x, y], ([latestX, latestY]) => latestX * latestY)
So, to resolve this bug, write
mouseX = []
instead ofmouseX
.The text was updated successfully, but these errors were encountered: