app/javascript/src/locomotive/editor/views/sections/edit/index.js
Function render
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { sectionDefinition, sectionContent, translate } = this.props;
// DEBUG
// console.log('BlockList', sectionDefinition.blocks_display, sectionDefinition.block_max_depth, sectionDefinition.blocks_display === 'tree' ? sectionDefinition.block_max_depth || 1 : 0)