app/assets/components/Videos/components/VideosTable/index.js
Function mapStateToProps
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const mapStateToProps = (state, ownProps) => {
const page = state.getIn(["common", "page"]);
const itemsPerPage = state.getIn(["common", "itemsPerPage"]);
const start = itemsPerPage * (page - 1);
const searchTerm = state.getIn(["common", "searchTerm"]);