fix import

This commit is contained in:
Seth Trowbridge 2024-09-30 10:48:32 -04:00
parent cb7da52af8
commit e2a6c7327f

View File

@ -1,6 +1,6 @@
import React from 'react' import React from 'react'
import * as Fiber from '@react-three/fiber' import * as Fiber from '@react-three/fiber'
import Three from 'three' import * as Three from 'three'
const ThreeBox:React.FC<{position?:Fiber.Vector3}> =(args)=> { const ThreeBox:React.FC<{position?:Fiber.Vector3}> =(args)=> {
const meshRef = React.useRef<Three.Mesh>(null) const meshRef = React.useRef<Three.Mesh>(null)