From fad67ba273468115953fce9a0b565292cb7cfc0a Mon Sep 17 00:00:00 2001 From: choiseohyeon Date: Sat, 17 Feb 2024 19:44:32 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20api=20=EC=97=B0=EB=8F=99=20=EC=99=84?= =?UTF-8?q?=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Registration.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/Registration.jsx b/src/pages/Registration.jsx index 9c32da3..52310ad 100644 --- a/src/pages/Registration.jsx +++ b/src/pages/Registration.jsx @@ -73,6 +73,8 @@ const Registration = () => { console.log("Image uploaded successfully:", response.data); navigate("/research"); } catch (error) { + console.log("FormData to be sent:", Array.from(formData.entries())); + console.error("Error during the fetch operation:", error); } }; @@ -194,8 +196,8 @@ const Registration = () => { onChange={(e) => setGender(e.target.value)} > - - + +