Skip to content

Commit

Permalink
Update user.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed May 27, 2024
1 parent dbabdab commit fd35807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/modules/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default {

const minterAdmin = await minterContract.owner()

if (minterAdmin === address.value) {
if (String(minterAdmin).toLowerCase() === String(address.value).toLowerCase()) {
commit('setIsMinterAdmin', true)
} else {
commit('setIsMinterAdmin', false)
Expand All @@ -240,7 +240,7 @@ export default {

const tldAdmin = await tldContract.owner()

if (tldAdmin === address.value) {
if (String(tldAdmin).toLowerCase() === String(address.value).toLowerCase()) {
commit('setIsTldAdmin', true)
} else {
commit('setIsTldAdmin', false)
Expand Down

0 comments on commit fd35807

Please sign in to comment.