src/ui/widgets/Widget.js
Widget
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Widget extends Component {
constructor (title, name, props) {
super(props)
this.name = name
this.state = {
Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render () {
return (
<div className={['widget-wrapper', (this.state.editing ? 'widget-editing' : null)].join(' ')}>
<div className={this.getMainClassNames().join(' ')}>
<div className='widget-title'>