File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @web3-onboard/core" ,
3
- "version" : " 2.3.2-alpha.3 " ,
3
+ "version" : " 2.3.2-alpha.4 " ,
4
4
"repository" : " blocknative/web3-onboard" ,
5
5
"scripts" : {
6
6
"build" : " rollup -c" ,
Original file line number Diff line number Diff line change 52
52
let scrollContainer: HTMLElement
53
53
54
54
let walletToAutoSelect =
55
- autoSelect &&
55
+ autoSelect . label &&
56
56
walletModules .find (
57
57
({ label }) => label .toLowerCase () === autoSelect .label .toLowerCase ()
58
58
)
209
209
// user rejected account access
210
210
if (code === ProviderRpcErrorCode .ACCOUNT_ACCESS_REJECTED ) {
211
211
connectionRejected = true
212
- if (autoSelect ) {
212
+ if (walletToAutoSelect ) {
213
213
walletToAutoSelect = null
214
214
215
215
if (autoSelect .disableModals ) {
360
360
361
361
<svelte:window bind:innerWidth ={windowWidth } />
362
362
363
- {#if ! autoSelect || ( autoSelect && ! autoSelect .disableModals ) }
363
+ {#if ! autoSelect .disableModals }
364
364
<Modal {close }>
365
365
<div class =" container relative flex" >
366
366
{#if windowWidth >= 809 }
396
396
{connectingErrorMessage }
397
397
/>
398
398
</div >
399
- {:else if ! autoSelect }
399
+ {:else }
400
400
<InstallWallet />
401
401
{/if }
402
402
{/if }
You can’t perform that action at this time.
0 commit comments