diff --git a/pages/room/add/step1.tsx b/pages/room/add/step1.tsx index 1375166..8ac5b23 100644 --- a/pages/room/add/step1.tsx +++ b/pages/room/add/step1.tsx @@ -57,7 +57,7 @@ export default function AddRoom() { monthlyRent: data.monthPrice, deposit: data.depositPrice, maintenanceFee: data.maintananceFee, - availableDate: data.dateAvailable ? formatDateForAPI(data.dateAvailable) : '', + availableDate: data.dateAvailable ? formatDateForAPI(data.dateAvailable) : null, gasIncluded: data.gasChecked, waterIncluded: data.waterChecked, electricityIncluded: data.electricityChecked,