From c9536b806c29459b1998711dbef786c05f7a9057 Mon Sep 17 00:00:00 2001 From: choi Date: Fri, 20 Dec 2024 18:38:05 +0900 Subject: [PATCH] =?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/components/modal/profileEdit-modal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/modal/profileEdit-modal.tsx b/src/components/modal/profileEdit-modal.tsx index 43600dc..d7f5331 100644 --- a/src/components/modal/profileEdit-modal.tsx +++ b/src/components/modal/profileEdit-modal.tsx @@ -118,14 +118,14 @@ const ProfileEditModal = () => { const profileImageUrl = await uploadToS3(file); requestData.profileImage = profileImageUrl; } catch (error) { - toast.error("이미지 업로드에 실패했습니다."); + toast.error(`이미지 업로드에 실패했습니다. ${error}`); return; } } const filteredRequestData = Object.fromEntries( Object.entries(requestData).filter( - ([_, value]) => value !== null && value !== "" && value !== undefined + ([, value]) => value !== null && value !== "" && value !== undefined ) );