|
@@ -4,18 +4,10 @@ import * as Yup from 'yup';
|
4
|
4
|
import { useFormik, Form, FormikProvider } from 'formik';
|
5
|
5
|
|
6
|
6
|
import {
|
7
|
|
- Box, Button, Stack, Checkbox,
|
8
|
|
- TextField, Autocomplete,Select,FormControl,MenuItem,InputLabel
|
|
7
|
+ Box, Button, Stack, Select,
|
|
8
|
+ FormControl,MenuItem,InputLabel
|
9
|
9
|
} from '@mui/material';
|
10
|
10
|
|
11
|
|
-import {
|
12
|
|
- CheckBox as CheckBoxIcon,
|
13
|
|
- CheckBoxOutlineBlank as CheckBoxOutlineBlankIcon
|
14
|
|
-} from '@mui/icons-material';
|
15
|
|
-
|
16
|
|
-const icon = <CheckBoxOutlineBlankIcon fontSize="small" />;
|
17
|
|
-const checkedIcon = <CheckBoxIcon fontSize="small" />;
|
18
|
|
-
|
19
|
11
|
export function StepTwo(props) {
|
20
|
12
|
|
21
|
13
|
const PlazaScheme = Yup.object().shape({
|
|
@@ -41,7 +33,7 @@ export function StepTwo(props) {
|
41
|
33
|
setAge(event.target.value);
|
42
|
34
|
};
|
43
|
35
|
|
44
|
|
- const {errors, touched, handleSubmit, getFieldProps, setValues } = formik;
|
|
36
|
+ const { handleSubmit,} = formik;
|
45
|
37
|
|
46
|
38
|
return (
|
47
|
39
|
<FormikProvider style={{ padding : 25 }} value={formik}>
|
|
@@ -88,18 +80,3 @@ export function StepTwo(props) {
|
88
|
80
|
</FormikProvider>
|
89
|
81
|
);
|
90
|
82
|
}
|
91
|
|
-const top100Films = [
|
92
|
|
- { label: 'City of God', year: 2002 },
|
93
|
|
- { label: 'Se7en', year: 1995 },
|
94
|
|
- { label: 'The Silence of the Lambs', year: 1991 },
|
95
|
|
- { label: "It's a Wonderful Life", year: 1946 },
|
96
|
|
- { label: 'Life Is Beautiful', year: 1997 },
|
97
|
|
- { label: 'The Usual Suspects', year: 1995 },
|
98
|
|
- { label: 'Grave of the Fireflies', year: 1988 },
|
99
|
|
- { label: 'Paths of Glory', year: 1957 },
|
100
|
|
- { label: 'Django Unchained', year: 2012 },
|
101
|
|
- { label: 'The Shining', year: 1980 },
|
102
|
|
- { label: 'WALL·E', year: 2008 },
|
103
|
|
- { label: 'American Beauty', year: 1999 },
|
104
|
|
- { label: 'The Dark Knight Rises', year: 2012 },
|
105
|
|
-];
|