RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/views/room/composer/ComposerAnonymous.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ComposerAnonymous has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ComposerAnonymous = (): ReactElement => {
    const t = useTranslation();
    const dispatch = useToastMessageDispatch();
    const isAnonymousWriteEnabled = useSetting('Accounts_AllowAnonymousWrite');

Severity: Minor
Found in apps/meteor/client/views/room/composer/ComposerAnonymous.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status