From c8c6444676c249778dc175efde6c0969b737496a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=83=81=ED=98=84?= Date: Wed, 13 Dec 2023 11:47:53 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9A=8C=EC=9B=90=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=A7=84=ED=96=89=EC=A4=91=20laanc=20?= =?UTF-8?q?=EB=B9=84=ED=96=89=20=ED=83=80=EC=9E=85=20=EB=B2=84=ED=8A=BC=20?= =?UTF-8?q?=ED=95=9C=EA=B8=80=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../account/mypage/AccountMypageForm.js | 5 +-- .../account/mypage/AccountMypagePwForm.js | 15 +++++---- src/components/laanc/map/FlightArea.js | 6 ++-- src/components/statistics/StatisticsSearch.js | 15 ++++++++- src/components/statistics/StatisticsTotal.js | 2 ++ .../account/mypage/AccountMypageContainer.js | 31 +++++++++++++++++-- .../statistics/AbnormalSituationContainer.js | 11 ++++++- src/containers/statistics/FlightContainer.js | 12 ++++++- .../statistics/FlightResultContainer.js | 10 +++++- 9 files changed, 90 insertions(+), 17 deletions(-) diff --git a/src/components/account/mypage/AccountMypageForm.js b/src/components/account/mypage/AccountMypageForm.js index 083db71..6c6ee5c 100644 --- a/src/components/account/mypage/AccountMypageForm.js +++ b/src/components/account/mypage/AccountMypageForm.js @@ -43,9 +43,10 @@ const AccountMypageForm = ({ }) => { const history = useHistory(); - function handleUseHitory() { + // 취소 헨들러 + const handleUseHitory = () => { history.push('/'); - } + }; return ( diff --git a/src/components/account/mypage/AccountMypagePwForm.js b/src/components/account/mypage/AccountMypagePwForm.js index b81b88f..32ac5b6 100644 --- a/src/components/account/mypage/AccountMypagePwForm.js +++ b/src/components/account/mypage/AccountMypagePwForm.js @@ -76,11 +76,13 @@ const AccountMypagePwForm = ({ activeTab }) => { }); }; - function handleUseHitory() { + // 취소 헨들러 + const handleUseHitory = () => { history.push('/'); - } + }; - function pwSubmit() { + // 비밀번호 변경 + const pwSubmit = () => { const reg_pw = /^(?=.*[A-Za-z])(?=.*[0-9])(?=.*[@$!%*#?&])[A-Za-z0-9@$!%*#?&]{8,20}$/; if (!reg_pw.test(inputs.newPswd && inputs.newPswdConfirm)) { @@ -98,11 +100,12 @@ const AccountMypagePwForm = ({ activeTab }) => { } else { dispatch(pwUpdateAction.request(inputs)); } - } + }; - function pwok() { + // 비밀번호 확인 + const pwok = () => { dispatch(pwCheckAction.request(userPswd)); - } + }; return ( diff --git a/src/components/laanc/map/FlightArea.js b/src/components/laanc/map/FlightArea.js index bc079e1..64fa6c0 100644 --- a/src/components/laanc/map/FlightArea.js +++ b/src/components/laanc/map/FlightArea.js @@ -538,7 +538,7 @@ export default function FlightArea({ handlerDrawType('LINE'); }} > - WayPoint + 선