#dorf0721_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/1354120820129271858
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
this is the page code and those are the key locations there
<ConnectComponentsProvider connectInstance={stripeConnectInstance}> {renderComponent()} </ConnectComponentsProvider>
and
const renderComponent = () => { switch (page) { case "payments": return <ConnectPayments /> case "payouts": return <ConnectPayouts /> case "capitalFinancing": return <ConnectCapitalFinancing /> case "capitalFinancingPromotion": return <ConnectCapitalFinancingPromotion /> case "capitalFinancingApplication": return ( <ConnectCapitalFinancingApplication onApplicationSubmitted={() => {}} /> )
at the end of the day it will look like this
<ConnectComponentsProvider connectInstance={stripeConnectInstance}> <ConnectCapitalFinancing /> </ConnectComponentsProvider> <ConnectComponentsProvider connectInstance={stripeConnectInstance}> <ConnectCapitalFinancingPromotion /> </ConnectComponentsProvider> <ConnectComponentsProvider connectInstance={stripeConnectInstance}> <ConnectCapitalFinancingApplication onApplicationSubmitted={() => {}} /> // I had to do this here to avoid a compilation issue at building time </ConnectComponentsProvider>
same with those other components that we have been using for a couple of months now
<ConnectComponentsProvider connectInstance={stripeConnectInstance}> <ConnectPayments /> </ConnectComponentsProvider> <ConnectComponentsProvider connectInstance={stripeConnectInstance}> <ConnectPayouts /> </ConnectComponentsProvider>
Hi! Unfortunately we're not able to help with private betas here; you'll need to reach out to Support.