Skip to content

Commit

Permalink
Remove trim from function argument for updateSuggestions.
Browse files Browse the repository at this point in the history
Trimming gets done in the function itself, since PR WordPress#35060.
  • Loading branch information
ralucaStan committed Oct 28, 2021
1 parent 4c92945 commit 77bf651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/url-input/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class URLInput extends Component {
! this.isUpdatingSuggestions &&
! this.props.__experimentalShowInitialSuggestions
) {
this.updateSuggestions( value.trim() );
this.updateSuggestions( value );
}
}

Expand Down

0 comments on commit 77bf651

Please sign in to comment.