Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e7c4e4bd0e | |||
| fac660fa2d | |||
| 626e816666 |
@@ -33,7 +33,7 @@ export default function LandingPage() {
|
||||
useEffect(() => {
|
||||
// Load Three.js and create 3D ambulance model
|
||||
const loadThreeScene = async () => {
|
||||
const { default: THREE } = await import("three");
|
||||
const THREE = await import("three");
|
||||
const { GLTFLoader } = await import("three/examples/jsm/loaders/GLTFLoader.js");
|
||||
const { OrbitControls } = await import("three/examples/jsm/controls/OrbitControls.js");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user