#thallescomh_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1319427947471310848
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- thallescomh_code, 27 minutes ago, 18 messages
Hi, it's me again, sorry for missing the previous thread.
Hello! Did you try the suggestions that were made before?
some more context:
i tried removing the dialog but still i get problems
no visible errors related to this
yep! the video above shows it
Checking to see if my colleague who knows way more about Next.js than I do can hop back in...
Hello, unfortunately I'm not the one who knows way more but I'm happy to try to help again. I will see if I can reproduce this on my own server
That is interesting that the element is rendering properly, that implies that the hooks are returning the right thing at least at first
no problem, im trying to debug in here too
yep, i've another component that uses the payment mode instead of setup and it works
but its completely different flow
Ah, so the code is decently different for that component? Can you share the code for that component as well for reference?
sure, just dont mind the organization, its a mess right now ๐
im removing parts of my code to see what its wrong, i kinda got it working but i still don't know what the problem is
give me sometime to debug it a little more.
Always a great way to narrow down the issue!
found it
im so ashamed
useCallback didnt contain the stripe and elements as a dependency
Nice catching it! No shame, these things can get very complex