FarmBot/Farmbot-Web-App

View on GitHub
frontend/controls/move/move_controls.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function MoveControls has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const MoveControls = (props: MoveControlsProps) => {
  const { location_data, informational_settings } = props.bot.hardware;
  const locationData = validBotLocationData(location_data);
  const botOnline = isBotOnlineFromState(props.bot);
  const { busy, locked } = props.bot.hardware.informational_settings;
Severity: Minor
Found in frontend/controls/move/move_controls.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status