FarmBot/Farmbot-Web-App

View on GitHub
frontend/promo/promo.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Promo has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const Promo = () => {
  const [config, setConfig] = React.useState<Config>(INITIAL);
  const [toolTip, setToolTip] = React.useState<ToolTip>({ timeoutId: 0, text: "" });
  const [activeFocus, setActiveFocus] = React.useState("");
  const common = {
Severity: Minor
Found in frontend/promo/promo.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status