diff --git a/src/app/components/property/partCard.tsx b/src/app/components/property/partCard.tsx deleted file mode 100644 index 92691e6..0000000 --- a/src/app/components/property/partCard.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import { PencilSquareIcon } from "@heroicons/react/24/outline"; -import { useState } from "react"; -import PartModal from "./PartModal"; - -export default function PartCard({ - title, - description, -}: { - title: string; - description: string; -}) { - const [isDetailModalOpen, setIsDetailModalOpen] = useState(false); - - return ( -
-
-
-

{title}

- -
-

{description}

-
- -
- ); -} diff --git a/src/app/portfolio/[slug]/property/[lmkKey]/page.tsx b/src/app/portfolio/[slug]/property/[lmkKey]/page.tsx index 004e380..5ae2d1d 100644 --- a/src/app/portfolio/[slug]/property/[lmkKey]/page.tsx +++ b/src/app/portfolio/[slug]/property/[lmkKey]/page.tsx @@ -1,7 +1,6 @@ "use client"; import { useState } from "react"; -import Link from "next/link"; import { PencilSquareIcon } from "@heroicons/react/24/outline"; import { SearchData, EpcRating, EpcKey } from "@/types/epc"; import { useRouter } from "next/navigation"; @@ -10,7 +9,6 @@ import EditEpcTargetModal from "../../../../components/property/EditEpcTargetMod import PartCard from "@/app/components/property/PartCard"; import { TanButton } from "@/app/components/Buttons"; import { fetchData } from "./utils"; -import BackToPortfolio from "@/app/components/portfolio/BackToPortfolio"; const EpcDefaults: { [key in EpcRating]: EpcRating } = { G: "C",