Skip to content

Commit

Permalink
feat(emoji-mart): apply suggested commit change for searchResult cond…
Browse files Browse the repository at this point in the history
…ition

Co-authored-by: Daniel Macák <34311965+daelmaak@users.noreply.github.com>
  • Loading branch information
torgeadelin and daelmaak authored Aug 5, 2024
1 parent dd497f1 commit f3f2cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/emoji-mart/src/components/Picker/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ export default class Picker extends Component {
renderLiveRegion() {
const emoji = this.getEmojiByPos(this.state.pos)
const noSearchResults =
this.state.searchResults && !this.state.searchResults.length
this.state.searchResults == null || this.state.searchResults.length === 0

const contents = emoji
? emoji.name
Expand Down

0 comments on commit f3f2cf3

Please sign in to comment.