RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/providers/UserProvider/hooks/useDeleteUser.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useDeleteUser has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useDeleteUser = () => {
    const notify = useStream('notify-logged');

    const uid = useUserId();
    useEffect(() => {
Severity: Minor
Found in apps/meteor/client/providers/UserProvider/hooks/useDeleteUser.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status