Skip to content

Commit

Permalink
Update packages/core/src/connectors/injected.ts
Browse files Browse the repository at this point in the history
Co-authored-by: jxom  <jakemoxey@gmail.com>
  • Loading branch information
mqklin and jxom authored Mar 4, 2024
1 parent 5240d51 commit 4f3ef05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/connectors/injected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function injected(parameters: InjectedParameters = {}) {
if (!isReconnecting) {
accounts = await this.getAccounts().catch(() => null)
const isAuthorized = !!accounts?.length
if (isAuthorized && !shimDisconnect)
if (isAuthorized && shimDisconnect)
// Attempt to show another prompt for selecting account if already connected
try {
const permissions = await provider.request({
Expand Down

0 comments on commit 4f3ef05

Please sign in to comment.