RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/omnichannel/reports/sections/AgentsSection.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function AgentsSection has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const AgentsSection = () => {
    const { data, sortBy, sortDirection, setSort, ...config } = useAgentsSection();
    const t = useTranslation();

    const { ref, contentBoxSize: { inlineSize: cardWidth = 200 } = {} } = useResizeObserver<HTMLElement>();
Severity: Minor
Found in apps/meteor/client/omnichannel/reports/sections/AgentsSection.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status