streetmix/streetmix

View on GitHub
client/src/dialogs/Analytics/CapacitySources.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function CapacitySources has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function CapacitySources (): React.ReactElement {
  const source = useSelector(
    (state) => state.street?.capacitySource ?? DEFAULT_CAPACITY_SOURCE
  )
  const dispatch = useDispatch()
Severity: Minor
Found in client/src/dialogs/Analytics/CapacitySources.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status