HabitatMap/AirCasting

View on GitHub
app/javascript/react/utils/filterTimelapseData.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function filterTimestamps has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const filterTimestamps = (
  timestamps: { [timestamp: string]: any },
  timeRange: TimeRanges
): string[] => {
  const now = moment.utc();
Severity: Minor
Found in app/javascript/react/utils/filterTimelapseData.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status