Skip to content

Commit

Permalink
Removes extra call to isModuleActivated
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Iloro committed Jan 31, 2017
1 parent b8546c4 commit 88b2af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _inc/client/search/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const SearchResults = ( {
customClasses = unavailableDevMode ? 'devmode-disabled' : '',
wordAdsSubHeader = element[2];

if ( 'wordads' === element[0] && ! isModuleActivated( element[0] ) ) {
if ( 'wordads' === element[0] && ! isModuleActive ) {
wordAdsSubHeader = <WordAdsSubHeaderTos subheader={ element[2] } />
}

Expand Down

0 comments on commit 88b2af4

Please sign in to comment.