From 715d82335d5ea95b77c85f71a0eb76b05e692811 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EC=9D=B4=EC=98=81=EC=9A=B0?= <zestlee1106@gmail.com>
Date: Wed, 20 Dec 2023 21:38:58 +0900
Subject: [PATCH] =?UTF-8?q?[fix]=20date=20=EC=B2=B4=ED=81=AC=20=EC=95=88?=
 =?UTF-8?q?=20=ED=95=98=EB=A9=B4=20null=20=EB=A1=9C=20=EB=B3=B4=EB=82=B4?=
 =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pages/room/add/step1.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,