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 Oct 4, 2023
1 parent f943b69 commit 296aa21
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 296aa21

Please sign in to comment.