Skip to content

Commit

Permalink
Update Profile.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed May 6, 2024
1 parent 99f1455 commit efd9ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default {
const intfc = new ethers.utils.Interface(tldAbi);
const contract = new ethers.Contract(this.getTldAddress, intfc, this.signer);
const checkDomainHolder = await contract.getDomainHolder(existingDomainParts[0]);
if (String(checkDomainHolder)===String(this.address)) {
if (String(checkDomainHolder).toLowerCase() === String(this.address).toLowerCase()) {
this.addDomainManually(existingDomainLower);
this.toast("Domain successfully added.", {type: TYPE.SUCCESS});
} else {
Expand Down

0 comments on commit efd9ce9

Please sign in to comment.