FarmBot/Farmbot-Web-App

View on GitHub
frontend/photos/state_to_props.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function mapStateToProps has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const mapStateToProps = (props: Everything): DesignerPhotosProps => {
  const images = getImages(props.resources.index);
  const env = getEnv(props.resources.index);

  const versions: Record<string, string> = {};
Severity: Minor
Found in frontend/photos/state_to_props.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status