src/screens/CategoriesScreen.js
Function CategoriesScreen
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const CategoriesScreen = props => {
// const dispatch = useDispatch();
// useEffect(() => {
// dispatch(itemsActions.setItems())
// }, [])
Function renderGridItem
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const renderGridItem = (itemData) => {
return (
<CategoryGridTile title={itemData.item.title}
iconValue={itemData.item.icon}