kleros/kleros-v2

View on GitHub
web/src/components/CasesDisplay/Filters.tsx

Summary

Maintainability
A
0 mins
Test Coverage

Function Filters has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

const Filters: React.FC = () => {
  const theme = useTheme();
  const { order, filter } = useParams();
  const { ruled, period, ...filterObject } = decodeURIFilter(filter ?? "all");
  const navigate = useNavigate();
Severity: Major
Found in web/src/components/CasesDisplay/Filters.tsx - About 2 hrs to fix

There are no issues that match your filters.

Category
Status