setSelectedPlan(plan.id) }
+ key={`plan-${plan.id}`}
+ >
+
+
+
+ {plan.name}
+
+ {plan.id === currentSubscription?.product.id && (
+
+
+ Current
+
+
+ )}
+
+
+ {
+ plan.description
+ }
+
+
+
+ {plan.prices
+ .filter(price => price.recurring.interval === interval)
+ .map(price => (
+
+ {price.unit_amount === 0 ? t`Free` : `${price.unit_amount} ${price.currency} ${translatedPrice}`}
+
+ ))}
+
+
+ ))
+ }
+