-
I'm using swelljs to render a paypal payment button but I'm getting multiple buttons rendering despite only calling createElements once - Here is the code I'm using -
With Any help with this would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Could |
Beta Was this translation helpful? Give feedback.
-
@Buupu is |
Beta Was this translation helpful? Give feedback.
-
Got same problem |
Beta Was this translation helpful? Give feedback.
-
Same problem as well. |
Beta Was this translation helpful? Give feedback.
Only triggering once according to my logs. Weirdly enough, if I attach the function to an event instead then it doesn't duplicate the elements. Probably some hot reload issue I'd imagine.
Happy to close this.