Vizzuality/landgriffon

View on GitHub
client/src/containers/analysis-visualization/analysis-table/footer/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function AnalysisTableFooter has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const AnalysisTableFooter: FC = () => {
  const searchParams = useSearchParams();
  const compareScenarioId = searchParams.get('compareScenarioId');

  const { data: scenarioName } = useScenario(compareScenarioId, undefined, {

    There are no issues that match your filters.

    Category
    Status