mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 07:56:59 +00:00
Update modal.tsx
This commit is contained in:
parent
1a9f6bb802
commit
4ea6480d52
@ -98,10 +98,12 @@ export default function CartModal({
|
||||
</div>
|
||||
|
||||
{!!isConfirming && !!cart && cart?.checkoutUrl ? (
|
||||
<AgeGateForm
|
||||
didCancel={() => setIsConfirming(false)}
|
||||
checkoutUrl={cart.checkoutUrl}
|
||||
/>
|
||||
<div className="animate-fadeIn">
|
||||
<AgeGateForm
|
||||
didCancel={() => setIsConfirming(false)}
|
||||
checkoutUrl={cart.checkoutUrl}
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
{!cart || cart.lines.length === 0 ? (
|
||||
|
Loading…
x
Reference in New Issue
Block a user