This repository was archived by the owner on Jul 22, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,17 +17,16 @@ const validationSchema = Yup.object().shape({
1717 . required ( )
1818 . label ( 'Name' ) ,
1919 email : Yup . string ( )
20- . required ( 'Please enter a registered email' )
20+ . required ( 'Please enter a valid email' )
2121 . email ( )
2222 . label ( 'Email' ) ,
2323 password : Yup . string ( )
2424 . required ( )
2525 . min ( 6 , 'Password must have at least 6 characters' )
2626 . label ( 'Password' ) ,
2727 confirmPassword : Yup . string ( )
28- . oneOf ( [ Yup . ref ( 'password' ) ] , 'Confirm Password must matched Password' )
29- . required ( 'Confirm Password is required' ) ,
30- check : Yup . boolean ( ) . oneOf ( [ true ] , 'Please check the agreement' )
28+ . oneOf ( [ Yup . ref ( 'password' ) ] , 'Confirm Password must match Password' )
29+ . required ( 'Confirm Password is required' )
3130} ) ;
3231
3332export default function RegisterScreen ( { navigation } ) {
You can’t perform that action at this time.
0 commit comments