pacificclimate/climate-explorer-frontend

View on GitHub
src/components/graphs/SingleTimeSeriesGraph.js

Summary

Maintainability
A
1 hr
Test Coverage

Function SingleTimeSeriesGraph has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function SingleTimeSeriesGraph(props) {
  function getMetadata() {
    const { model_id, experiment, variable_id, meta } = props;

    const primaryVariableMetadata = _.find(meta, {
Severity: Minor
Found in src/components/graphs/SingleTimeSeriesGraph.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status