superdesk/superdesk-client-core

View on GitHub
scripts/apps/authoring-react/toolbar/theme-selector.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

    render() {
        return (
            <div className="color-selector__list">
                {this.props.options.map((item, index: number) => {
                    const swatchClasses = classNames('color-selector__swatch', {
Severity: Minor
Found in scripts/apps/authoring-react/toolbar/theme-selector.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status