diff --git a/src/components/account/mypage/AccountMypagePwForm.js b/src/components/account/mypage/AccountMypagePwForm.js index cc5597f6..042fa2de 100644 --- a/src/components/account/mypage/AccountMypagePwForm.js +++ b/src/components/account/mypage/AccountMypagePwForm.js @@ -53,7 +53,12 @@ const AccountMypagePwForm = ({ activeTab }) => { const onChange = (e) => { setuserPswd(e.target.value); - //console.log(setuserPswd); + }; + + const onKeyPress = e => { + if (e.key == 'Enter') { + pwok(); + } }; const onChanges = (e) => { const { value, name } = e.target; @@ -102,7 +107,7 @@ const AccountMypagePwForm = ({ activeTab }) => { - +