Skip to content

Commit

Permalink
return empty string if container id is undefined2
Browse files Browse the repository at this point in the history
  • Loading branch information
jesuyedavid committed Oct 4, 2023
1 parent b4e2894 commit d395f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/search/searchcomponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ export default class SearchComponent extends Component {
labelText: this.labelText,
inputLabelIdName: this.inputLabelIdName,
submitIcon: this.submitIcon,
searchBarContainerId: this._container.id || '',
searchBarContainerId: this._container?.id || '',
submitText: this.submitText,
clearText: this.clearText,
showClearButton: this._showClearButton,
Expand Down

0 comments on commit d395f30

Please sign in to comment.