Skip to content

Commit

Permalink
refactor : 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
publdaze committed Dec 28, 2023
1 parent 4429a4c commit 59f2113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/Profile/Modal/EditAccountModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const EditPasswordSection = () => {
rules={{
required: COMMON.error.required,
validate: {
confirmMatchPassward: (value) => {
confirmMatchPassword: (value) => {
if (getValues('newPassword') !== value) return CONFIRM_PASSWORD_MSG.error.mismatch;
setPasswordConfirmSuccessMsg(CONFIRM_PASSWORD_MSG.success.match);
return undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/SignUp/Section/SignUpFirstInputSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const SignUpFirstInputSection = ({ setCurrentStep }: SignUpFirstInputSectionProp
rules={{
required: COMMON.error.required,
validate: {
confirmMatchPassward: (value) => {
confirmMatchPassword: (value) => {
if (getValues('password') !== value) return CONFIRM_PASSWORD_MSG.error.mismatch;
setPasswordConfirmSuccessMsg(CONFIRM_PASSWORD_MSG.success.match);
return undefined;
Expand Down

0 comments on commit 59f2113

Please sign in to comment.