Skip to content

Commit 1c25ab5

Browse files
scruffianastralbodies
authored andcommitted
Don't try to render undefined features
1 parent 0aa157d commit 1c25ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/my-sites/plan-features/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class PlanFeatures extends Component {
188188

189189
renderMobileFeatures( features ) {
190190
return map( features, ( currentFeature, index ) => {
191-
return this.renderFeatureItem( currentFeature, index );
191+
return currentFeature ? this.renderFeatureItem( currentFeature, index ) : null;
192192
} );
193193
}
194194

0 commit comments

Comments
 (0)