Skip to content

Commit a20a8ab

Browse files
committed
📖 Update message for urlSlug (#2020)
1 parent 4e4c797 commit a20a8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/zod/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const workBookSchema = z.object({
8888
value === '' || value === null || value === undefined ? undefined : value.toLowerCase(),
8989
)
9090
.refine((value) => value === undefined || isValidUrlSlug(value), {
91-
message: '半角英小文字、数字、ハイフンのみ使用可能です',
91+
message: '半角英小文字、半角数字、ハイフンのみ使用できます(数字のみは不可)',
9292
}),
9393
workBookTasks: z
9494
.array(workBookTaskSchema)

0 commit comments

Comments
 (0)