Merge branch 'sol/mailchimp-fix' into sol/preview

This commit is contained in:
Sol Irvine 2023-09-06 14:01:20 -07:00
commit 6cec2dbfe3

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 ? (