Revert "Merge branch 'hotfix/payment' into 'main'"

This commit is contained in:
Daniil Chemerkin 2024-12-31 00:15:56 +00:00
parent 0a38d8694c
commit 69a652e68d

View File

@ -72,10 +72,10 @@ function TrialPaymentPage() {
}, [isPaymentSuccess])
useEffect(() => {
if (isModalClosed && !isPaymentSuccess) {
if (isModalClosed) {
return handleDiscount()
}
}, [isModalClosed, isPaymentSuccess])
}, [isModalClosed])
useEffect(() => {
if (error?.length && error !== "Product not found") {