File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import Heading from "@/components/layout/Heading";
1414import Label from "@/components/controls/Label" ;
1515
1616const feedbackSchema = z . object ( {
17- text : z . string ( ) . min ( 1 )
17+ text : z . string ( ) . min ( 1 , "Your feedback message must at least contain 1 character" )
1818} ) ;
1919
2020const feedbackSchemaResolver = zodResolver ( feedbackSchema ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import Heading from "@/components/layout/Heading";
1515import { backend } from "@/utils/wretch" ;
1616
1717const signupSchema = z . object ( {
18- email : z . string ( ) . email ( ) . min ( 3 )
18+ email : z . string ( ) . email ( ) . min ( 5 , "Your email must at least contain 5 characters" )
1919} ) ;
2020const signupSchemaResolver = zodResolver ( signupSchema ) ;
2121
You can’t perform that action at this time.
0 commit comments