FarmBot/Farmbot-Web-App

View on GitHub
frontend/farm_designer/map/layers/sensor_readings/sensor_readings_layer.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function SensorReadingsLayer has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function SensorReadingsLayer(props: SensorReadingsLayerProps) {
  const {
    visible, sensorReadings, mapTransformProps, timeSettings, sensors
  } = props;
  const mostRecentSensorReading = last(sensorReadings);

    There are no issues that match your filters.

    Category
    Status