Merge branch 'revert-0a38d869' into 'main'

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

See merge request witapp/aura-webapp!514
This commit is contained in:
Daniil Chemerkin 2024-12-31 00:15:56 +00:00
commit 037d718d5a

View File

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