app/javascript/components/donations/stripe-form/useLazyLoadStripe.ts
Function useLazyLoadStripe
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function useLazyLoadStripe(): {
stripe: Stripe | null
error: string | null
} {
const [stripe, setStripe] = useState<Stripe | null>(null)