Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
go
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzshia committed Jul 18, 2023
1 parent 319d092 commit 1156b70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pageComponents/dialogs/WalletSelectorDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ function WalletSelectorPanelItem({
</div>
)
} else {
select(wallet.adapter.name)
if (wallet.readyState === WalletReadyState.Loadable) wallet.adapter.connect()
else select(wallet.adapter.name)
onClick?.()
}
}}
Expand Down

0 comments on commit 1156b70

Please sign in to comment.