From a4ceed410a61b4f674e04022b029f00064117339 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Mon, 23 Oct 2023 16:59:28 -0400 Subject: [PATCH] fix: remove problematic Object3D generic --- src/core/MotionPathControls.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */