diff --git a/frontend/src/pages/Facility3DViewerPage.tsx b/frontend/src/pages/Facility3DViewerPage.tsx index 3dc3e5a..399da46 100644 --- a/frontend/src/pages/Facility3DViewerPage.tsx +++ b/frontend/src/pages/Facility3DViewerPage.tsx @@ -82,7 +82,6 @@ class ErrorBoundary extends Component<{ children: ReactNode }, ErrorBoundaryStat // --- Main Component --- export default function Facility3DViewerPage() { - const [showIntro, setShowIntro] = useState(true); const [status, setStatus] = useState('Initializing...'); const [floorData, setFloorData] = useState(null); const [selectedPlant, setSelectedPlant] = useState(null); @@ -112,12 +111,7 @@ export default function Facility3DViewerPage() { const [searchParams] = useSearchParams(); const targetedPlantTag = searchParams.get('plant'); - useEffect(() => { - // If coming from deep link, skip intro - if (targetedPlantTag) { - setShowIntro(false); - } - }, [targetedPlantTag]); + useEffect(() => { loadData(); @@ -304,12 +298,6 @@ export default function Facility3DViewerPage() { return (
- {/* Intro Overlay */} - {showIntro && ( -
- setShowIntro(false)} /> -
- )} {/* Header */}