Skip to content

Commit

Permalink
๐Ÿšธ #275 - ๋กœ๊ทธ์ธ ์‹คํŒจ ์‹œ ๋ฉ”์‹œ์ง€ ์„ค์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
yws1502 committed Nov 24, 2024
1 parent 2595ada commit 9f8b8d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/constants/validation/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export const ERROR_MESSAGE = {
length: '6~30์ž ์ด๋‚ด๋กœ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.',
pattern: '์˜์–ด, ์ˆซ์ž, ํŠน์ˆ˜๋ฌธ์ž ์ค‘ ์ตœ์†Œ 2๊ฐ€์ง€๋ฅผ ์กฐํ•ฉํ•ด์ฃผ์„ธ์š”.',
invalidPattern: '์‚ฌ์šฉํ•  ์ˆ˜ ์—†๋Š” ๋ฌธ์ž์ž…๋‹ˆ๋‹ค.',
failed:
'์•„์ด๋”” ๋˜๋Š” ๋น„๋ฐ€๋ฒˆํ˜ธ๊ฐ€ ์ž˜๋ชป ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์•„์ด๋””์™€ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ •ํ™•ํžˆ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.',
},
passwordCheck: {
required: '๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ํ™•์ธํ•ด์ฃผ์„ธ์š”.',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/account/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Login: NextPage = () => {
});
setError('password', {
type: 'exist',
message: response?.error,
message: ERROR_MESSAGE.password.failed,
});
}
if (response?.ok === true) {
Expand Down

0 comments on commit 9f8b8d2

Please sign in to comment.