diff --git a/src/components/UnitList.tsx b/src/components/UnitList.tsx index fb94657..db1ad57 100644 --- a/src/components/UnitList.tsx +++ b/src/components/UnitList.tsx @@ -7,28 +7,30 @@ type UnitListProps = { const UnitList = ({ units, startIndex = 0 }: UnitListProps) => { return ( -
-
-
-
-
Unit
-
Area (m)
-
-
- {units.map((unit, index) => ( -
-
{startIndex + index + 1}
+
+
+
+
-
{unit.title}
-
{unit.value}
+
Unit
+
Area (m)
- ))} + {units.map((unit, index) => ( +
+
{startIndex + index + 1}
+
+
{unit.title}
+
{unit.value}
+
+
+ ))} +
); }; diff --git a/src/components/desktop/Appartment/LayoutModal.tsx b/src/components/desktop/Appartment/LayoutModal.tsx index 947bd39..d503e74 100644 --- a/src/components/desktop/Appartment/LayoutModal.tsx +++ b/src/components/desktop/Appartment/LayoutModal.tsx @@ -40,12 +40,10 @@ const LayoutModal = () => { <>
-
- {currentUnits && ( - - )} -
-
+ {currentUnits && ( + + )} +
{ }); return ( -
+