mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-18 15:25:21 +00:00
fix build
This commit is contained in:
parent
b49efb41b8
commit
264f985ff7
1 changed files with 2 additions and 2 deletions
|
|
@ -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', {});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue