Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
nikk15 committed Jun 9, 2023
1 parent 5ee0a87 commit 6f322cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/name-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ AFRAME.registerComponent("name-tag", {
},

updatePronouns() {
if ((this.pronouns && this.pronouns !== this.prevPronouns) || (this.prevPronouns && !this.pronouns)) {
if (this.pronouns !== this.prevPronouns) {
this.pronounsText.el.addEventListener(
"text-updated",
() => {
Expand Down

0 comments on commit 6f322cc

Please sign in to comment.