diff --git a/src/core/MotionPathControls.tsx b/src/core/MotionPathControls.tsx index a15283ee9..ef45f2f9b 100644 --- a/src/core/MotionPathControls.tsx +++ b/src/core/MotionPathControls.tsx @@ -33,9 +33,9 @@ type MotionState = { /** The combined curve */ path: THREE.CurvePath /** The focus object */ - focus: React.MutableRefObject> | [x: number, y: number, z: number] | undefined + focus: React.MutableRefObject | [x: number, y: number, z: number] | undefined /** The target object that is moved along the curve */ - object: React.MutableRefObject> + object: React.MutableRefObject /** The 0-1 normalised and damped current goal position along curve */ offset: number /** The current point on the curve */