Skip to content

Commit

Permalink
fix(homepage-posts): change copy for deduplication block option (#1578)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpeixe authored Nov 3, 2023
1 parent 4315730 commit dff89a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/blocks/homepage-articles/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,13 +435,13 @@ class Edit extends Component {
)
) }
<ToggleControl
label={ __( 'Use deduplication logic', 'newspack-blocks' ) }
label={ __( 'Allow duplicate stories', 'newspack-blocks' ) }
help={ __(
'If unchecked, this block will be excluded from the deduplication logic and may show duplicate posts.',
"If checked, this block will be excluded from the page's de-duplication logic. Duplicate stories may appear.",
'newspack-blocks'
) }
checked={ attributes.deduplicate }
onChange={ () => setAttributes( { deduplicate: ! attributes.deduplicate } ) }
checked={ ! attributes.deduplicate }
onChange={ value => setAttributes( { deduplicate: ! value } ) }
className="newspack-blocks-deduplication-toggle"
/>
</PanelBody>
Expand Down

0 comments on commit dff89a0

Please sign in to comment.