unicef/magicbox-maps

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

Summary

Maintainability
A
1 hr
Test Coverage

Function adminStyle has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function adminStyle(props) {
  return function(geoJsonFeature) {
    let admin_id = geoJsonFeature.properties.admin_id
    let admin_index = props.activeCountry.admin_index
    let active_country = props.activeCountry
Severity: Minor
Found in react-app/src/helpers/helper-admins-style.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status