scripts/core/editor3/components/article-embed/article-embed.tsx
Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const {block, contentState} = this.props;
const entityKey = block.getEntityAt(0);
const entity = contentState.getEntity(entityKey);
const {item} = entity.getData() as IEditorDragDropArticleEmbed['data'];