Skip to content

Commit

Permalink
fix section without flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dhasilva committed Jul 22, 2024
1 parent 3d8f26d commit e20cd47
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@ const JetpackAndSettingsContent = ( {

return (
<>
<PanelRow className="jetpack-ai-proofread-control__header">
<BaseControl label={ __( 'Write Brief with AI (BETA)', 'jetpack' ) }>
{ isBreveAvailable && <Breve /> }
</BaseControl>
</PanelRow>
{ isBreveAvailable && (
<PanelRow className="jetpack-ai-proofread-control__header">
<BaseControl label={ __( 'Write Brief with AI (BETA)', 'jetpack' ) }>
<Breve />
</BaseControl>
</PanelRow>
) }

<PanelRow className="jetpack-ai-feedback__header">
<BaseControl label={ __( 'AI Feedback', 'jetpack' ) }>
Expand Down

0 comments on commit e20cd47

Please sign in to comment.