accept-a-payment icon indicating copy to clipboard operation
accept-a-payment copied to clipboard

bug? should this .append be a .push

Open cobbzilla opened this issue 8 months ago • 0 comments

I think this line would break if the if (error) condition were true, because JS arrays don't have an .append method.

My IDE was complaining until I changed it.

https://github.com/stripe-samples/accept-a-payment/blob/d7c83fed6f677625f511dd591a3a8dd2849c6b13/payment-element/client/vue-cva/src/components/SrReturn.vue#L28

cobbzilla avatar Jun 02 '24 16:06 cobbzilla