tieme-ndo/frontend

View on GitHub
src/components/pages/AddStaff/AddStaffForm.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function AddStaff has 95 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const AddStaff = props => {
  const { state, handleSubmit, handleChange, checkboxChange } = props;
  return (
    <>
      <Container>
Severity: Major
Found in src/components/pages/AddStaff/AddStaffForm.js - About 3 hrs to fix

    Parsing error: Unexpected token 16 | const { state, handleSubmit, handleChange, checkboxChange } = props; 17 | return (
    Open

        <>

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status