RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/components/message/header/hooks/useMessageRoles.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useMessageRoles has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        useCallback(() => {
            if (!shouldLoadRoles || !userId) {
                return [];
            }

    There are no issues that match your filters.

    Category
    Status