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:
commit
037d718d5a
@ -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") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user