EscolaLMS/Front

View on GitHub
src/hooks/useCart.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useCart has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useCart = () => {
  const [cart, setCart] = useState<PogressState>({
    data: undefined,
    loaded: false,
    loading: false,
Severity: Minor
Found in src/hooks/useCart.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status