Skip to content

Commit

Permalink
TASK: Assign trimmed value to the searchTerm
Browse files Browse the repository at this point in the history
  • Loading branch information
markusguenther committed Oct 8, 2024
1 parent 9e59a3c commit a53f256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/neos-ui-editors/src/Library/LinkInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default class LinkInput extends PureComponent {
// trim leading and trailing whitespace as it can cause issues
// with the further processing
if (typeof searchTerm === 'string') {
searchTerm.trim()
searchTerm = searchTerm.trim()
}

this.setState({searchTerm});
Expand Down

0 comments on commit a53f256

Please sign in to comment.