Merge branch 'hotfix/payment' into 'main'
Обновил проверку закрытия формы ввода карты See merge request witapp/aura-webapp!511
This commit is contained in:
commit
0a38d8694c
@ -72,10 +72,10 @@ function TrialPaymentPage() {
|
||||
}, [isPaymentSuccess])
|
||||
|
||||
useEffect(() => {
|
||||
if (isModalClosed) {
|
||||
if (isModalClosed && !isPaymentSuccess) {
|
||||
return handleDiscount()
|
||||
}
|
||||
}, [isModalClosed])
|
||||
}, [isModalClosed, isPaymentSuccess])
|
||||
|
||||
useEffect(() => {
|
||||
if (error?.length && error !== "Product not found") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user