exercism/website

View on GitHub
app/javascript/components/donations/stripe-form/useLazyLoadStripe.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useLazyLoadStripe has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useLazyLoadStripe(): {
  stripe: Stripe | null
  error: string | null
} {
  const [stripe, setStripe] = useState<Stripe | null>(null)

    There are no issues that match your filters.

    Category
    Status