Merge branch 'AW-90-bug-payment-discount-page' into 'develop'

AW-90-bug-payment-discount-page

See merge request witapp/aura-webapp!155
This commit is contained in:
Daniil Chemerkin 2024-06-01 23:28:46 +00:00
commit 4488e7ad07
2 changed files with 5 additions and 3 deletions

View File

@ -90,11 +90,11 @@ function TrialPaymentPage() {
}, [flowChoice]);
if (!activeProduct) {
return <Navigate to={routes.client.trialChoice()} />;
return <Navigate to={routes.client.trialChoiceV1()} />;
}
if (!birthdate || !gender || !birthPlace) {
return <Navigate to={routes.client.gender()} />;
return <Navigate to={routes.client.genderV1()} />;
}
const handleDiscount = () => {

View File

@ -39,7 +39,9 @@ function TrialPaymentWithDiscount() {
return (
<section className={`${styles.page} page`}>
<Modal open={isOpenPaymentModal} onClose={handleClose}>
<PaymentModal />
<PaymentModal
placementKey={EPlacementKeys["aura.placement.secret.discount"]}
/>
</Modal>
<img
className={styles["party-popper"]}