diff --git a/src/components/gltf.tsx b/src/components/gltf.tsx index 3631e77..b7f1ec8 100644 --- a/src/components/gltf.tsx +++ b/src/components/gltf.tsx @@ -1,5 +1,5 @@ import { useRef } from 'react'; -import { useGLTF } from '@react-three/drei'; +import { Clone, useGLTF } from '@react-three/drei'; // import { a } from '@react-spring/three'; import { Group } from 'three'; import { SrcObj } from '@/types/Src'; @@ -18,13 +18,12 @@ export const GLTF = ({ url, position = [0, 0, 0], rotation = [0, 0, 0], scale = }; }); const ref = useRef(null); - const modelRef = useRef(); return ( <> {/* @ts-ignore: https://github.com/pmndrs/react-spring/issues/1515 */} - + );