unicef/magicbox-maps

View on GitHub
react-app/src/helpers/helper-countries-style.js

Summary

Maintainability
A
1 hr
Test Coverage

Function countryStyle has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function countryStyle(props) {
  return function(geoJsonFeature) {
    let activeCountry = props.activeCountry;
    const displayCountry = {
      fill: true,
Severity: Minor
Found in react-app/src/helpers/helper-countries-style.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status