We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8993922 commit 85600b1Copy full SHA for 85600b1
1 file changed
src/targets.tsx
@@ -17,7 +17,7 @@ type TargetProps = {
17
};
18
export const Target = ({ targetIdx }: TargetProps) => {
19
const { scene } = useGLTF("assets/target.glb");
20
- const target = useMemo(() => scene.clone(), [scene]);
+ const target = useMemo(() => scene.clone(), []);
21
22
useEffect(() => {
23
target.position.set(
0 commit comments