SumOfUs/Champaign

View on GitHub
app/javascript/modules/EmailParliament/SearchByPostcode.js

Summary

Maintainability
A
1 hr
Test Coverage

Function SearchByPostcode has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const SearchByPostcode = props => {
  const [loading, setLoading] = useState(false);
  const [error, setError] = useState(false);
  const [postcode, setPostcode] = useState(null);
  const [input, setInput] = useState('');
Severity: Minor
Found in app/javascript/modules/EmailParliament/SearchByPostcode.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status