Skip to content

Commit

Permalink
Update packages/block-library/src/page-list/edit.js
Browse files Browse the repository at this point in the history
Co-authored-by: Nik Tsekouras <ntsekouras@outlook.com>
  • Loading branch information
mkaz and ntsekouras committed Jun 18, 2021
1 parent 6d37f81 commit 4100757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/page-list/edit.js
Expand Up @@ -92,7 +92,7 @@ export default function PageListEdit( {
<PanelBody>
<ToggleControl
label={ __( 'Show only children' ) }
checked={ childrenOnly }
checked={ !! childrenOnly }
onChange={ () => {
setAttributes( {
childrenOnly: ! childrenOnly,
Expand Down

0 comments on commit 4100757

Please sign in to comment.