浏览代码

fix bundle error

amenpunk 3 年之前
父节点
当前提交
938269bea9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/Components/Password/Steps/tree.js

+ 3 - 3
src/Components/Password/Steps/tree.js

1
-import React, { useEffect } from 'react'
1
+import React from 'react'
2
 import * as Yup from 'yup';
2
 import * as Yup from 'yup';
3
 // import { useState, useEffect } from 'react';
3
 // import { useState, useEffect } from 'react';
4
 import { useFormik, Form, FormikProvider } from 'formik';
4
 import { useFormik, Form, FormikProvider } from 'formik';
44
         validationSchema: PlazaScheme,
44
         validationSchema: PlazaScheme,
45
     });
45
     });
46
 
46
 
47
-    const {errors, touched, handleSubmit, getFieldProps, setValues, values} = formik;
47
+    const {errors, touched, handleSubmit, getFieldProps, setValues} = formik;
48
     return (
48
     return (
49
         <FormikProvider style={{ padding : 25 }} value={formik}>
49
         <FormikProvider style={{ padding : 25 }} value={formik}>
50
             <Form autoComplete="off" noValidate onSubmit={handleSubmit}>
50
             <Form autoComplete="off" noValidate onSubmit={handleSubmit}>
58
                         getOptionLabel={(option) => { 
58
                         getOptionLabel={(option) => { 
59
                             return option.label 
59
                             return option.label 
60
                         }}
60
                         }}
61
-                        onChange={(a,current_list,c,individual,f) => {
61
+                        onChange={(_a,current_list,_c,_individual,_f) => {
62
                             setValues({
62
                             setValues({
63
                                 puesto:current_list
63
                                 puesto:current_list
64
                             })
64
                             })