fix(frontend): buying credits does not work on staging (#11873)

This commit is contained in:
Hiep Le
2025-12-03 10:07:01 +07:00
committed by GitHub
parent 72555e0f1c
commit eaea8b3ce1

View File

@@ -30,11 +30,12 @@ function BillingSettingsScreen() {
}
displaySuccessToast(t(I18nKey.PAYMENT$SUCCESS));
setSearchParams({});
} else if (checkoutStatus === "cancel") {
displayErrorToast(t(I18nKey.PAYMENT$CANCELLED));
setSearchParams({});
}
setSearchParams({});
}, [checkoutStatus, searchParams, setSearchParams, t, trackCreditsPurchased]);
return <PaymentForm />;