Skip to content

Commit

Permalink
Media & Text: Fix React warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Oct 4, 2023
1 parent 795f79f commit 89f5012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/media-text/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function MediaTextEdit( { attributes, isSelected, setAttributes } ) {
<ToggleControl
__nextHasNoMarginBottom
label={ __( 'Crop image to fill entire column' ) }
checked={ imageFill }
checked={ !! imageFill }
onChange={ () =>
setAttributes( {
imageFill: ! imageFill,
Expand Down

0 comments on commit 89f5012

Please sign in to comment.