This repository was archived by the owner on Dec 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,14 @@ const LoginSchema = Yup.object({
15
15
password : Yup . string ( ) . required ( 'Password required' ) ,
16
16
} ) ;
17
17
18
+ // const initialValues = {
19
+ // email: 'todo@gmail.com',
20
+ // password: 'password',
21
+ // };
22
+
18
23
const initialValues = {
19
- email : 'todo@gmail.com' ,
20
- password : 'password' ,
24
+ email : undefined ,
25
+ password : undefined ,
21
26
} ;
22
27
23
28
export function Login ( ) {
Original file line number Diff line number Diff line change @@ -20,11 +20,18 @@ const SignupScheme = Yup.object({
20
20
export function Signup ( ) {
21
21
const history = useHistory ( ) ;
22
22
23
+ // const initialValues = {
24
+ // email: 'todo@gmail.com',
25
+ // password: 'password',
26
+ // firstName: 'Vigneshwaran',
27
+ // lastName: 'C',
28
+ // };
29
+
23
30
const initialValues = {
24
- email : 'todo@gmail.com' ,
25
- password : 'password' ,
26
- firstName : 'Vigneshwaran' ,
27
- lastName : 'C' ,
31
+ email : undefined ,
32
+ password : undefined ,
33
+ firstName : undefined ,
34
+ lastName : undefined ,
28
35
} ;
29
36
30
37
function handleSignup ( values , { setErrors, setSubmitting } ) {
You can’t perform that action at this time.
0 commit comments