diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-09-18 18:17:34 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-09-18 18:17:34 -0400 |
| commit | 4260c97ab6592f34993955969dad2131cfc1d951 (patch) | |
| tree | 056c1f5a0240f53237d49322253146560f685453 /src | |
| parent | 6c7730e852854839a05f8380196a312d07ffa01d (diff) | |
| download | personal-website-4260c97ab6592f34993955969dad2131cfc1d951.tar.gz personal-website-4260c97ab6592f34993955969dad2131cfc1d951.tar.bz2 personal-website-4260c97ab6592f34993955969dad2131cfc1d951.zip | |
fixed issue with gltfloader
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/3DModels.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/3DModels.jsx b/src/components/3DModels.jsx index 113cc11..a691568 100644 --- a/src/components/3DModels.jsx +++ b/src/components/3DModels.jsx @@ -1,6 +1,6 @@ import { Canvas, useLoader } from "@react-three/fiber"; import { OrbitControls, PerspectiveCamera } from "@react-three/drei"; -import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader"; +import { GLTFLoader } from 'three/addons/loaders/GLTFLoader'; const Model = ({ model, scale }) => { const gltf = useLoader(GLTFLoader, model); |
