src/store/grants/useGrantActions.tsx
Function useGrantActions
has 128 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
export const useGrantActions = () => {
const dispatch = useDispatch();
const fetchGrants = useCallback(() => {
dispatch({type: GrantTypes.FETCH_GRANTS_START});