Skip to content

Commit 12a2da2

Browse files
committed
fix: fixed lint
1 parent 42e207b commit 12a2da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/subscription-controller/src/SubscriptionController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import type {
3030
} from './types';
3131
import {
3232
PAYMENT_TYPES,
33-
RECURRING_INTERVALS,
3433
type ISubscriptionService,
3534
type PricingResponse,
3635
type ProductType,
@@ -578,7 +577,7 @@ export class SubscriptionController extends StaticIntervalPollingController()<
578577
const hasTrailedBefore = this.state.trialedProducts.some((product) =>
579578
request.products.includes(product),
580579
);
581-
// if the user has not trailed the provided products before, submit the sponsorship intents
580+
// if the user has not trialed the provided products before, submit the sponsorship intents
582581
if (hasTrailedBefore) {
583582
return;
584583
}
@@ -589,6 +588,7 @@ export class SubscriptionController extends StaticIntervalPollingController()<
589588

590589
const { paymentTokenSymbol, plan } = selectedPaymentMethod;
591590
const productPrice = this.#getProductPriceByProductAndPlan(
591+
// we only support one product at a time for now
592592
request.products[0],
593593
plan,
594594
);

0 commit comments

Comments
 (0)