From e86484f495b260ba1f217b644ac5312ec394e617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?sanguu=28=EB=B0=95=EC=83=81=ED=98=84=29?= Date: Wed, 19 Oct 2022 17:14:48 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD(enter=ED=82=A4=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/account/mypage/AccountMypagePwForm.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/account/mypage/AccountMypagePwForm.js b/src/components/account/mypage/AccountMypagePwForm.js index cc5597f..042fa2d 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 }) => { - +