frontend/src/shared/components/textEditors/shared/InlineStyleControl/index.js
Function InlineStyleControls
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const InlineStyleControls = (props) => {
const currentStyle = props.editorState.getCurrentInlineStyle();
return (
<div className={styles.root}>
{INLINE_STYLES.map(type =>