src/components/users/List.jsx
Function UsersList
has 142 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const UsersList = () => {
const navigate = useNavigate();
const { user: loggedInUser } = useContext(AuthContext);
const [users, updateUsers] = useFetch("/users");
const deleteUser = useDelete("/users/", updateUsers);
- Create a ticketCreate a ticket