Skip to content

Commit

Permalink
Spacer: Remove unnecessary line breaks in edit.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Jan 24, 2025
1 parent 724d5e2 commit c50b92a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/block-library/src/spacer/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ const SpacerEdit = ( {
getCustomValueFromPreset( width, spacingSizes ) ||
getCustomValueFromPreset( height, spacingSizes ) ||
'100px';

setAttributes( {
width: '0px',
style: {
Expand All @@ -290,7 +289,6 @@ const SpacerEdit = ( {
getCustomValueFromPreset( height, spacingSizes ) ||
getCustomValueFromPreset( width, spacingSizes ) ||
'100px';

setAttributes( {
height: '0px',
style: {
Expand Down Expand Up @@ -329,7 +327,6 @@ const SpacerEdit = ( {
height: flexSize,
} );
}

setAttributes( {
style: {
...blockStyle,
Expand Down

0 comments on commit c50b92a

Please sign in to comment.