File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
apps/dashboard/components/autumn Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ function getPlanIcon(planId: string) {
5555function getNewFeaturesForPlan ( planId : string ) : GatedFeatureId [ ] {
5656 const plan = planId as PlanId ;
5757 const planFeatures = PLAN_FEATURES [ plan ] ;
58- if ( ! planFeatures ) return [ ] ;
58+ if ( ! planFeatures ) {
59+ return [ ] ;
60+ }
5961
6062 if ( plan === PLAN_IDS . FREE ) {
6163 return Object . entries ( planFeatures )
@@ -159,12 +161,7 @@ export default function PricingTable({
159161 }
160162
161163 const filteredProducts =
162- products ?. filter (
163- ( p ) =>
164- p . id !== "free" &&
165- p . id !== "verification_fee" &&
166- ! ( p as Product & { is_add_on ?: boolean } ) . is_add_on
167- ) ?? [ ] ;
164+ products ?. filter ( ( p ) => [ "hobby" , "pro" , "scale" ] . includes ( p . id ) ) ?? [ ] ;
168165
169166 return (
170167 < PricingTableContext . Provider
You can’t perform that action at this time.
0 commit comments