Skip to content

Commit

Permalink
[fix] fix connect wallet with disableModal flag (#1033)
Browse files Browse the repository at this point in the history
* [fix] fix connect wallet with disableModal flag
* fix(#1032): update package version
  • Loading branch information
applicature-dlitvinov authored Jun 7, 2022
1 parent 82a568a commit 7097282
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/core",
"version": "2.2.10",
"version": "2.2.11-alpha.1",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/views/connect/Index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@
connectionRejected = true
if (autoSelect) {
walletToAutoSelect = null
if (autoSelect.disableModals) {
connectWallet$.next({ inProgress: false })
}
}
return
}
Expand Down

0 comments on commit 7097282

Please sign in to comment.