diff --git a/src/Earth.tsx b/src/Earth.tsx index 9b3cfd8..8abf5ee 100644 --- a/src/Earth.tsx +++ b/src/Earth.tsx @@ -12,7 +12,7 @@ import {useGLTF} from '@react-three/drei' import {useFrame} from '@react-three/fiber'; export function Earth(props: any) { - const {nodes, materials}: any = useGLTF(import.meta.env.BASE_URL + '/earth.gltf'); + const {nodes, materials}: any = useGLTF(import.meta.env.BASE_URL + 'earth.gltf'); const objRef = useRef(); @@ -27,4 +27,4 @@ export function Earth(props: any) { ) } -useGLTF.preload(import.meta.env.BASE_URL + '/earth.gltf') +useGLTF.preload(import.meta.env.BASE_URL + 'earth.gltf')