EscolaLMS/Front

View on GitHub
src/pages/cart/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function CartPage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const CartPage: React.FC<Props> = () => {
  const { config } = useContext(EscolaLMSContext);
  const stripePromise = (publishable_key: string) =>
    loadStripe(publishable_key);
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
Severity: Minor
Found in src/pages/cart/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status