SSG'd pages double render CreditCard component #66
Unanswered
calebfaruki
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I attempted to submit this bug on issues tab but it has way too many required fields and too much upfront work just to get this issue published. I just need a workaround. SSG'd pages render the
<CreditCard />
component twice and I'm not sure how to fix this.Tested on non-SSG page: no issue.
Tested on SSR page (two renders): two credit card forms are present.
On my SSG'd page, I get the following error:
This is my form code:
Versions:
I found one similar issue but its root cause appears to be unrelated: #46
Beta Was this translation helpful? Give feedback.
All reactions