Skip to content

Commit

Permalink
fix conflicts and rabase to current trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasztunik committed May 18, 2022
1 parent 6673daf commit 6d8325a
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions packages/block-library/src/search/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,26 +217,9 @@ export default function SearchEdit( {
: borderProps.style;

return (
<<<<<<< HEAD
<input
type="search"
className={ textFieldClasses }
style={ textFieldStyles }
aria-label={ __( 'Optional placeholder text' ) }
// We hide the placeholder field's placeholder when there is a value. This
// stops screen readers from reading the placeholder field's placeholder
// which is confusing.
placeholder={
placeholder ? undefined : __( 'Optional placeholder…' )
}
value={ placeholder }
onChange={ ( event ) =>
setAttributes( { placeholder: event.target.value } )
}
/>
=======
<>
<input
type="search"
className={ textFieldClasses }
style={ textFieldStyles }
aria-label={ __( 'Optional placeholder text' ) }
Expand All @@ -261,7 +244,6 @@ export default function SearchEdit( {
/>
) ) }
</>
>>>>>>> 1641205f40 (Add postType attribute to Search Block)
);
};

Expand Down

0 comments on commit 6d8325a

Please sign in to comment.