prokuranepal/inventory_app

View on GitHub
src/screens/CategoriesScreen.js

Summary

Maintainability
A
3 hrs
Test Coverage
C
75%

Function CategoriesScreen has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const CategoriesScreen = props => {
    // const dispatch = useDispatch();
    // useEffect(() => {
    //     dispatch(itemsActions.setItems())
    // }, [])
Severity: Minor
Found in src/screens/CategoriesScreen.js - About 1 hr to fix

    Function renderGridItem has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        const renderGridItem = (itemData) => {
            return (
    
                <CategoryGridTile title={itemData.item.title}
                    iconValue={itemData.item.icon}
    Severity: Minor
    Found in src/screens/CategoriesScreen.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status