diff --git a/src/pages/ChangeInfoPage/ProfileEditPage.tsx b/src/pages/ChangeInfoPage/ProfileEditPage.tsx index b0004ed..6d3f4ee 100644 --- a/src/pages/ChangeInfoPage/ProfileEditPage.tsx +++ b/src/pages/ChangeInfoPage/ProfileEditPage.tsx @@ -1,18 +1,24 @@ import React, { useState } from 'react'; +import { useNavigate } from 'react-router-dom'; import profile from '../../assets/images/ico_profile_edit.svg'; const MyPage: React.FC = () => { const [name, setName] = useState('김잇픽'); + const navigate = useNavigate(); const handleNameChange = (event: React.FocusEvent) => { setName(event.currentTarget.textContent || '김잇픽'); }; + const handleChangePasswordClick = () => { + navigate('/change-password'); + }; + return (
-

프로필 편집

- +

프로필 편집

+
profile_image @@ -46,7 +52,12 @@ const MyPage: React.FC = () => {

이메일

kimitpick@gmail.com

-

비밀번호 변경

+

+ 비밀번호 변경 +

탈퇴하기