rrebase/knboard

View on GitHub
frontend/src/components/UserMenu.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function UserMenu has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UserMenu = () => {
  const user = useSelector((state: RootState) => state.auth.user);
  const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
  const dispatch = useDispatch();
  const history = useHistory();
Severity: Major
Found in frontend/src/components/UserMenu.tsx - About 2 hrs to fix

There are no issues that match your filters.

Category
Status