fix(payment): consume first recharge offer after payment
This commit is contained in:
@@ -77,16 +77,10 @@ export function SubscriptionScreen({
|
||||
() =>
|
||||
getFirstRechargeOfferView({
|
||||
isFirstRecharge: payment.isFirstRecharge,
|
||||
discountPercent: payment.firstRechargeOffer?.discountPercent,
|
||||
vipPlans: vipOfferPlans,
|
||||
coinPlans: directCoinsPlans,
|
||||
}),
|
||||
[
|
||||
directCoinsPlans,
|
||||
payment.firstRechargeOffer?.discountPercent,
|
||||
payment.isFirstRecharge,
|
||||
vipOfferPlans,
|
||||
],
|
||||
[directCoinsPlans, payment.isFirstRecharge, vipOfferPlans],
|
||||
);
|
||||
|
||||
const selectedPlan = findSelectedSubscriptionPlan({
|
||||
|
||||
Reference in New Issue
Block a user