Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.3.2-alpha.3",
"version": "2.3.2-alpha.4",
"repository": "blocknative/web3-onboard",
"scripts": {
"build": "rollup -c",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/views/connect/Index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
let scrollContainer: HTMLElement

let walletToAutoSelect =
autoSelect &&
autoSelect.label &&
walletModules.find(
({ label }) => label.toLowerCase() === autoSelect.label.toLowerCase()
)
Expand Down Expand Up @@ -209,7 +209,7 @@
// user rejected account access
if (code === ProviderRpcErrorCode.ACCOUNT_ACCESS_REJECTED) {
connectionRejected = true
if (autoSelect) {
if (walletToAutoSelect) {
walletToAutoSelect = null

if (autoSelect.disableModals) {
Expand Down Expand Up @@ -360,7 +360,7 @@

<svelte:window bind:innerWidth={windowWidth} />

{#if !autoSelect || (autoSelect && !autoSelect.disableModals)}
{#if !autoSelect.disableModals}
<Modal {close}>
<div class="container relative flex">
{#if windowWidth >= 809}
Expand Down Expand Up @@ -396,7 +396,7 @@
{connectingErrorMessage}
/>
</div>
{:else if !autoSelect}
{:else}
<InstallWallet />
{/if}
{/if}
Expand Down