Skip to content

Commit

Permalink
๐Ÿšจ Fix(#47): ๋ชจ์ง‘๊ธ€ ์ œ๋ชฉ ์Šคํ‚ค๋งˆ ์ œํ•œ ์‚ฌํ•ญ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
sscoderati committed Dec 4, 2023
1 parent 17af7c2 commit 7945ca6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/schemas/steadySchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ export const SteadySchema = z.object({
deadline: z.string({
required_error: "์Šคํ…Œ๋””์˜ ๋ชจ์ง‘ ๋งˆ๊ฐ์ผ์„ ์„ ํƒํ•ด์ฃผ์„ธ์š”.",
}),
title: z.string({ required_error: "์Šคํ…Œ๋””์˜ ๋ชจ์ง‘๊ธ€ ์ œ๋ชฉ์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”." }),
title: z
.string({ required_error: "์Šคํ…Œ๋””์˜ ๋ชจ์ง‘๊ธ€ ์ œ๋ชฉ์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”." })
.min(2, { message: "์Šคํ…Œ๋””์˜ ๋ชจ์ง‘๊ธ€ ์ œ๋ชฉ์€ 2๊ธ€์ž ์ด์ƒ์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค." })
.max(25, { message: "์Šคํ…Œ๋””์˜ ๋ชจ์ง‘๊ธ€ ์ œ๋ชฉ์€ 25๊ธ€์ž ์ดํ•˜์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค." }),
content: z.string({
required_error: "์Šคํ…Œ๋””์˜ ๋ชจ์ง‘๊ธ€ ๋‚ด์šฉ์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.",
}),
Expand Down

0 comments on commit 7945ca6

Please sign in to comment.