client/src/editor/scripts/components/jsonschemaForms/preview/preview_container.js
Function mapStateToProps
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const mapStateToProps = (state, ownProps) => {
const { currentNormalizedSlice } = ownProps;
if (!currentNormalizedSlice) {
return {