historyforge/historyforge

View on GitHub
app/javascript/miniforge/Map.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function Map has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Map = props => {
  const mapRef = useRef<HTMLDivElement>(null)
  const [map, setMap] = useState(null)
  const [markers, setMarkers] = useState(null)
  const [marker, setMarker] = useState(null)
Severity: Major
Found in app/javascript/miniforge/Map.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status