From a3953085e999e710852cc60b08fd532b852f4b07 Mon Sep 17 00:00:00 2001 From: HeeNamgoong Date: Thu, 30 May 2024 13:46:55 +0900 Subject: [PATCH] Fix: edit travel modal not open # 152 --- src/pages/EditTripPage.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/EditTripPage.js b/src/pages/EditTripPage.js index 711e991..dfa281d 100644 --- a/src/pages/EditTripPage.js +++ b/src/pages/EditTripPage.js @@ -83,12 +83,10 @@ const EditTripPage = () => { withCredentials: true, headers: { "Content-Type": "multipart/form-data" }, }) - .then((res) => { - openSuccessModal(); - }) .catch((error) => { console.log(error); }); + openSuccessModal(); }; const handleCancel = () => {