Skip to content

Commit

Permalink
Small CS update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thijs van der Heijden authored and IreneStr committed Jun 29, 2022
1 parent 045a2bf commit b4043bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/js/src/components/SchemaSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,7 @@ class SchemaSettings extends Component {
* @returns {boolean} True if News Article is selected for the Default Article Type.
*/
isNewsArticleSelected() {
if ( this.state.schema_article_type === "NewsArticle" ) {
return true;
}

return false;
return this.state.schema_article_type === "NewsArticle";
}

/**
Expand Down

0 comments on commit b4043bd

Please sign in to comment.