app/javascript/react/utils/filterTimelapseData.ts
Function filterTimestamps
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const filterTimestamps = (
timestamps: { [timestamp: string]: any },
timeRange: TimeRanges
): string[] => {
const now = moment.utc();