File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ const ProfileEdit: React.FC = () => {
152152 } catch ( error ) {
153153 setModalContent ( '프로필 수정 중 오류가 발생했습니다.' ) ;
154154 setIsModalVisible ( true ) ;
155- console . error ( 'Error updating user info:' , error . response ?. data || error . message ) ;
155+ console . error ( 'Error updating user info:' , error ) ;
156156 }
157157 } ;
158158
Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ const Profile: React.FC = () => {
8686 try {
8787 await createMatchingApi ( matchingRequestData ) ;
8888 handleModalOpen ( `${ userInfo ?. nickname } 님에게 대표 OOTD와 \n한 줄 메세지를 보냈어요!` ) ;
89- } catch ( error : any ) {
89+ } catch ( error ) {
9090 console . error ( '매칭 신청 오류:' , error ) ;
91- handleModalOpen ( error . response ?. data ?. message || '매칭 신청에 실패했습니다.' ) ;
91+ handleModalOpen ( '매칭 신청에 실패했습니다.' ) ;
9292 }
9393 } ;
9494
You can’t perform that action at this time.
0 commit comments