src/components/item-list.jsx
Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { items, bookmarkCount, stockCount, hasSubData, message, title } = this.props;
const filteredItems =
items.slice(0, 20).filter(item => this.refineByCount(item, bookmarkCount, stockCount));
if (!hasSubData) {