Skip to content

Commit

Permalink
Merge branch 'main' into error-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
alderwhiteford authored Dec 8, 2023
2 parents 4b896e2 + b317c52 commit 4088734
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
25 changes: 14 additions & 11 deletions frontend/src/components/Upload/UploadFlowComponents/Checkout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,18 @@ export default function Checkout({ states, setters }: CheckoutProps) {
onComplete: handleComplete,
};

return (
<div className="mt-32">
<div id="checkout">
{clientSecret && (
<EmbeddedCheckoutProvider stripe={stripePromise} options={options}>
<EmbeddedCheckout />
</EmbeddedCheckoutProvider>
)}
</div>
</div>
);
return (
<div className="">
<div id="checkout">
{clientSecret && (
<EmbeddedCheckoutProvider
stripe={stripePromise}
options={options}
>
<EmbeddedCheckout />
</EmbeddedCheckoutProvider>
)}
</div>
</div>
)
}
2 changes: 1 addition & 1 deletion frontend/src/pages/UploadDesign.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export function UploadDesign() {
return (
<Auth authRoute={true}>
<div className="container mx-auto mt-16 grow h-[100%]">
<div className="z-0 min-h-[84vh] flex flex-col">
<div className="z-0 min-h-[84vh] flex flex-col mt-12">
<VoxetiStepper currentStep={currentStep} />
<UploadFlow states={states} setters={setters} />
<BottomNavOptions
Expand Down

0 comments on commit 4088734

Please sign in to comment.