AW-90-bug-payment-discount-page

This commit is contained in:
Денис Катаев 2024-06-01 23:28:46 +00:00 committed by Daniil Chemerkin
parent 8dac39a275
commit 8a601b03c1
2 changed files with 5 additions and 3 deletions

View File

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

View File

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