Neovici/cosmoz-tabs

View on GitHub
src/cosmoz-tab-card.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function CosmozTabCard has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const CosmozTabCard = (host) => {
    const { heading, collapsable, collapsed: isCollapsed } = host,
        [collapsed, setCollapsed] = useState(Boolean(isCollapsed)),
        toggleCollapsed = () => {
            if (!collapsable) return;
Severity: Minor
Found in src/cosmoz-tab-card.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status