Lambda-School-Labs/startup-grant-database-fe

View on GitHub
src/store/suggestions/useSuggestionActions.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function useSuggestionActions has 96 lines of code (exceeds 50 allowed). Consider refactoring.
Open

export const useSuggestionActions = () => {
    const dispatch = useDispatch();

    const fetchSuggestions = useCallback(
        (token: string, grant_id: number) => {
Severity: Major
Found in src/store/suggestions/useSuggestionActions.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status