Vizzuality/landgriffon

View on GitHub
client/src/containers/user-dropdown/component.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function UserDropdown has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UserDropdown: React.FC = () => {
  const { x, y, refs, strategy } = useFloating({
    placement: 'top-start',
    middleware: [offset({ crossAxis: 20, mainAxis: 10 }), shift()],
  });
Severity: Major
Found in client/src/containers/user-dropdown/component.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status