superdesk/superdesk-client-core

View on GitHub
scripts/core/editor3/components/article-embed/article-embed.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

    render() {
        const {block, contentState} = this.props;
        const entityKey = block.getEntityAt(0);
        const entity = contentState.getEntity(entityKey);
        const {item} = entity.getData() as IEditorDragDropArticleEmbed['data'];
Severity: Minor
Found in scripts/core/editor3/components/article-embed/article-embed.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status