fix(3d-viewer): add missing THREE import to fix build error
This commit is contained in:
parent
1ebe7b4d34
commit
d8d9c407d8
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import { useEffect, useState, Suspense, useMemo, Component, ReactNode } from 'react';
|
import { useEffect, useState, Suspense, useMemo, Component, ReactNode } from 'react';
|
||||||
import { Canvas } from '@react-three/fiber';
|
import { Canvas } from '@react-three/fiber';
|
||||||
import { OrbitControls, Text, Instances, Instance, Html } from '@react-three/drei';
|
import { OrbitControls, Text, Instances, Instance, Html } from '@react-three/drei';
|
||||||
|
import * as THREE from 'three';
|
||||||
import { layoutApi, Floor3DData } from '../lib/layoutApi';
|
import { layoutApi, Floor3DData } from '../lib/layoutApi';
|
||||||
import { Loader2, ArrowLeft } from 'lucide-react';
|
import { Loader2, ArrowLeft } from 'lucide-react';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue