Skip to content

Commit

Permalink
revert change - let app query BrightId status
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Aug 23, 2022
1 parent e377f7e commit 1653bc8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vue-app/src/store/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,6 @@ const actions = {
state.currentUser.walletAddress
)

// if users are registered, they are also verified
const brightId = state.currentUser.brightid || {}
brightId.isVerified = isRegistered ? true : brightId.isVerified || false

if (nativeTokenAddress) {
balance = await getTokenBalance(
nativeTokenAddress,
Expand All @@ -181,7 +177,6 @@ const actions = {
isRegistered,
balance,
etherBalance,
brightId,
ensName,
})
},
Expand Down

0 comments on commit 1653bc8

Please sign in to comment.