diff --git a/src/components/NewSelectedComplexCard.tsx b/src/components/NewSelectedComplexCard.tsx index 82eeafc..5e68285 100644 --- a/src/components/NewSelectedComplexCard.tsx +++ b/src/components/NewSelectedComplexCard.tsx @@ -6,7 +6,7 @@ import CloseIcon from "./icons/CloseIcon"; import { useQuery } from "@tanstack/react-query"; import { api } from "../api/ky"; import IMarker from "../types/IMarker"; -import { formattedUnitTypes } from "../data/unitTypes"; +import { formattedUnitTypes } from "../data/formattedUnitTypes"; import { useNavigate } from "react-router"; function NewSelectedComplexCard({ diff --git a/src/components/UnitCard.tsx b/src/components/UnitCard.tsx index d0a97ad..328d56e 100644 --- a/src/components/UnitCard.tsx +++ b/src/components/UnitCard.tsx @@ -5,7 +5,7 @@ import HeartIcon from "./icons/HeartIcon"; import Button from "./ui/Button"; import "react-loading-skeleton/dist/skeleton.css"; import Skeleton from "react-loading-skeleton"; -import { formattedUnitTypes } from "../data/unitTypes"; +import { formattedUnitTypes } from "../data/formattedUnitTypes"; function UnitCard({ unit }: { unit: IUnit }) { const { favoriteUnits, setFavoriteUnits } = useFavoritesUnitsStore(); diff --git a/src/components/UnitTypeCard.tsx b/src/components/UnitTypeCard.tsx index e7ef389..86226be 100644 --- a/src/components/UnitTypeCard.tsx +++ b/src/components/UnitTypeCard.tsx @@ -4,7 +4,7 @@ import UnitType from "../types/UnitType"; function UnitTypeCard({ project, type }: { project: string; type: UnitType }) { return (
diff --git a/src/components/UnitTypeItem.tsx b/src/components/UnitTypeItem.tsx index 8f143bc..526670c 100644 --- a/src/components/UnitTypeItem.tsx +++ b/src/components/UnitTypeItem.tsx @@ -6,9 +6,10 @@ interface UnitTypeItemProps { title: string; project: string; wing?: string; - floor: [number, number]; + floor: string; video: { title: string; desc: string }; texts: [string, string]; + area: string; } function UnitTypeItem({ @@ -18,6 +19,7 @@ function UnitTypeItem({ floor, video, texts, + area, }: UnitTypeItemProps) { return (
@@ -28,7 +30,7 @@ function UnitTypeItem({

{title}

- Up to 366 Sqft + {area}