src/components/pages/AddStaff/AddStaffForm.js
Function AddStaff
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const AddStaff = props => {
const { state, handleSubmit, handleChange, checkboxChange } = props;
return (
<>
<Container>
Parsing error: Unexpected token 16 | const { state, handleSubmit, handleChange, checkboxChange } = props;
17 | return ( Open
Open
<>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/