From 98b8ee83670702b02d58c7724f1e2351b2b3e04b Mon Sep 17 00:00:00 2001 From: chayoosang Date: Wed, 11 Oct 2023 12:10:32 +0900 Subject: [PATCH] =?UTF-8?q?[PDW-5]=20fix:=20=EC=8B=9C=EC=9E=91=20=EC=8B=9C?= =?UTF-8?q?=EA=B0=84=20=EC=84=A4=EC=A0=95=20=EC=95=88=EB=90=98=EB=8A=94=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/booking/selectOffice/SelectOffice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/booking/selectOffice/SelectOffice.js b/src/pages/booking/selectOffice/SelectOffice.js index dd6d5fb..993c5fe 100644 --- a/src/pages/booking/selectOffice/SelectOffice.js +++ b/src/pages/booking/selectOffice/SelectOffice.js @@ -34,7 +34,7 @@ function SelectOffice(props) { const searchOffice = () => { OfficesAxios.get(`?date=${date}&startTime=${startTime}&endTime=${endTime}`) .then((Response) => { setOffices(Response.data.data.content) }) - .catch((Error) => { alert(Error) }) + .catch((Error) => { alert(Error.response.data.message) }) } useEffect(() => {