Skip to content

Commit

Permalink
refactor: premium check is not needed
Browse files Browse the repository at this point in the history
We are using premium store for this property.
  • Loading branch information
vraja-pro committed Sep 13, 2024
1 parent f0f8267 commit 4c7d6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/src/components/contentAnalysis/SeoAnalysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class SeoAnalysis extends Component {
const isPremium = getL10nObject().isPremium;

// Don't show the button if the AI feature is not enabled for Yoast SEO Premium users.
if ( isPremium && ! this.props.isAiFeatureEnabled ) {
if ( ! this.props.isAiFeatureEnabled ) {
return;
}

Expand Down

0 comments on commit 4c7d6ba

Please sign in to comment.