Reconmap/web-client

View on GitHub
src/components/users/List.jsx

Summary

Maintainability
B
5 hrs
Test Coverage

Function UsersList has 142 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UsersList = () => {
    const navigate = useNavigate();
    const { user: loggedInUser } = useContext(AuthContext);
    const [users, updateUsers] = useFetch("/users");
    const deleteUser = useDelete("/users/", updateUsers);
Severity: Major
Found in src/components/users/List.jsx - About 5 hrs to fix

There are no issues that match your filters.

Category
Status