Skip to content

Commit

Permalink
Media & Text: Fix React warning (#55038)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored and mikachan committed Oct 5, 2023
1 parent 841537f commit dac8a21
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 dac8a21

Please sign in to comment.