Skip to content

Commit

Permalink
Don't try to render undefined features
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian authored and astralbodies committed Jun 26, 2017
1 parent 0aa157d commit 1c25ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/my-sites/plan-features/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class PlanFeatures extends Component {

renderMobileFeatures( features ) {
return map( features, ( currentFeature, index ) => {
return this.renderFeatureItem( currentFeature, index );
return currentFeature ? this.renderFeatureItem( currentFeature, index ) : null;
} );
}

Expand Down

0 comments on commit 1c25ab5

Please sign in to comment.