This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import { useProperties } from '@/app/contexts/PropertyContext';
|
import { useProperties } from '@/app/contexts/PropertyContext';
|
||||||
import { CommissionType, City, CitiesList } from '@/app/enums';
|
import { CommissionType, CitiesList } from '@/app/enums';
|
||||||
import { X, MapPin, Home, DollarSign, Percent } from 'lucide-react';
|
import { X, MapPin, Home, DollarSign, Percent } from 'lucide-react';
|
||||||
|
|
||||||
export default function AddPropertyForm({ onClose, onSuccess }) {
|
export default function AddPropertyForm({ onClose, onSuccess }) {
|
||||||
@ -131,7 +131,7 @@ export default function AddPropertyForm({ onClose, onSuccess }) {
|
|||||||
required
|
required
|
||||||
>
|
>
|
||||||
<option value="">اختر المدينة</option>
|
<option value="">اختر المدينة</option>
|
||||||
{Object.values(CITIES).map(city => (
|
{CitiesList.map(city => (
|
||||||
<option key={city} value={city}>{city}</option>
|
<option key={city} value={city}>{city}</option>
|
||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user