fix build

This commit is contained in:
bkellam 2025-12-12 12:31:04 -08:00
parent b49efb41b8
commit 264f985ff7

View file

@ -30,7 +30,7 @@ export const Checkout = () => {
variant: "destructive", variant: "destructive",
}); });
captureEvent('wa_onboard_checkout_fail', { captureEvent('wa_onboard_checkout_fail', {
error: errorMessage, errorCode: errorMessage,
}); });
} }
}, [errorCode, errorMessage, toast, captureEvent]); }, [errorCode, errorMessage, toast, captureEvent]);
@ -45,7 +45,7 @@ export const Checkout = () => {
variant: "destructive", variant: "destructive",
}) })
captureEvent('wa_onboard_checkout_fail', { captureEvent('wa_onboard_checkout_fail', {
error: response.errorCode, errorCode: response.errorCode,
}); });
} else { } else {
captureEvent('wa_onboard_checkout_success', {}); captureEvent('wa_onboard_checkout_success', {});