Skip to content

Commit

Permalink
Disable Category selection in release (#21203)
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsnyder authored Mar 30, 2020
1 parent 0b3fa53 commit 7557024
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/block-library/src/latest-posts/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ class LatestPostsEdit extends Component {
}
onOrderChange={ this.onSetOrder }
onOrderByChange={ this.onSetOrderBy }
onCategoryChange={ this.onSetCategories }
onCategoryChange={
// eslint-disable-next-line no-undef
__DEV__ ? this.onSetCategories : undefined
}
onNumberOfItemsChange={ this.onSetPostsToShow }
/>
</PanelBody>
Expand Down

0 comments on commit 7557024

Please sign in to comment.