Skip to content

Commit

Permalink
fix: allow any connected account to be set active (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
AustP committed Mar 20, 2024
1 parent 53689eb commit 6220ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default function useWallet() {

const selectActiveAccount = (providerId: PROVIDER_ID, address: string) => {
try {
const account = connectedActiveAccounts.find(
const account = connectedAccounts.find(
(acct) => acct.address === address && acct.providerId === providerId
)

Expand Down

0 comments on commit 6220ed3

Please sign in to comment.