Ver Fonte

fix bundle error

amenpunk há 3 anos atrás
pai
commit
938269bea9
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      src/Components/Password/Steps/tree.js

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

@@ -1,4 +1,4 @@
-import React, { useEffect } from 'react'
+import React from 'react'
 import * as Yup from 'yup';
 // import { useState, useEffect } from 'react';
 import { useFormik, Form, FormikProvider } from 'formik';
@@ -44,7 +44,7 @@ export function StepTree(props) {
         validationSchema: PlazaScheme,
     });
 
-    const {errors, touched, handleSubmit, getFieldProps, setValues, values} = formik;
+    const {errors, touched, handleSubmit, getFieldProps, setValues} = formik;
     return (
         <FormikProvider style={{ padding : 25 }} value={formik}>
             <Form autoComplete="off" noValidate onSubmit={handleSubmit}>
@@ -58,7 +58,7 @@ export function StepTree(props) {
                         getOptionLabel={(option) => { 
                             return option.label 
                         }}
-                        onChange={(a,current_list,c,individual,f) => {
+                        onChange={(_a,current_list,_c,_individual,_f) => {
                             setValues({
                                 puesto:current_list
                             })