Vizzuality/landgriffon

View on GitHub
cookie-traceability/src/pages/index.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function Home has 73 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Home: React.FC = () => {
  const mainElement = useRef<HTMLDivElement>(null);
  const [currentTradeFlow, setCurrentTradeFlow] = useState<CountryTrade | null>(null);
  const [ingredient, setIngredient] = useState<string>(INGREDIENTS[0].id);

Severity: Major
Found in cookie-traceability/src/pages/index.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status