Update modal.tsx

This commit is contained in:
Sol Irvine 2023-09-06 14:01:02 -07:00
parent 1a9f6bb802
commit 4ea6480d52

View File

@ -98,10 +98,12 @@ export default function CartModal({
</div> </div>
{!!isConfirming && !!cart && cart?.checkoutUrl ? ( {!!isConfirming && !!cart && cart?.checkoutUrl ? (
<AgeGateForm <div className="animate-fadeIn">
didCancel={() => setIsConfirming(false)} <AgeGateForm
checkoutUrl={cart.checkoutUrl} didCancel={() => setIsConfirming(false)}
/> checkoutUrl={cart.checkoutUrl}
/>
</div>
) : ( ) : (
<> <>
{!cart || cart.lines.length === 0 ? ( {!cart || cart.lines.length === 0 ? (