diff --git a/src/app/page.tsx b/src/app/page.tsx index a2402f5..2e53fa7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,13 +18,12 @@ import { IconZoomOut, IconPlus, IconRefresh, - IconMenu2, } from "@tabler/icons-react"; import OptionsDropdown from "../components/OptionsDropdown"; import SidePanel from "../components/SidePanel"; import SearchBar from "../components/SearchBar"; import ImageModal from "../components/ImageModal"; -import { SceneType } from "@/types/scene"; +import { SceneType } from "../../types"; import type { ImageData, CameraData } from "../hooks/useCOLMAPLoader"; const CAM_MAX_SCALE = 1; @@ -378,9 +377,11 @@ const Home: React.FC = () => { return ( +
} diff --git a/src/components/Card.tsx b/src/components/Card.tsx index 83b37aa..87b2553 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -1,7 +1,7 @@ import React from "react"; import { IconCircleDotted, IconCamera } from "@tabler/icons-react"; -import { SceneType } from "@/types/scene"; +import { SceneType } from "../../types"; import { useRouter } from "next/navigation"; interface CardProps { diff --git a/src/components/OptionsDropdown.tsx b/src/components/OptionsDropdown.tsx index ceff08d..5d316d0 100644 --- a/src/components/OptionsDropdown.tsx +++ b/src/components/OptionsDropdown.tsx @@ -158,6 +158,7 @@ const OptionsDropdown: React.FC = ({ document.removeEventListener("mousedown", handleClickOutside); }; }, [ref, toggleMenu]); + return (