fbi-cde/crime-data-frontend

View on GitHub
src/components/UsaMap.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 65 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    const { colors, changeColorOnHover, mapClick, place, stateView, states, region } = this.props
    const { hover } = this.state
    const svgDataWithNames = svgData.map(s => ({
      ...s,
Severity: Major
Found in src/components/UsaMap.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status