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 11{
22 "name" : " @web3-onboard/core" ,
3- "version" : " 2.3.2-alpha.3 " ,
3+ "version" : " 2.3.2-alpha.4 " ,
44 "repository" : " blocknative/web3-onboard" ,
55 "scripts" : {
66 "build" : " rollup -c" ,
Original file line number Diff line number Diff line change 5252 let scrollContainer: HTMLElement
5353
5454 let walletToAutoSelect =
55- autoSelect &&
55+ autoSelect . label &&
5656 walletModules .find (
5757 ({ label }) => label .toLowerCase () === autoSelect .label .toLowerCase ()
5858 )
209209 // user rejected account access
210210 if (code === ProviderRpcErrorCode .ACCOUNT_ACCESS_REJECTED ) {
211211 connectionRejected = true
212- if (autoSelect ) {
212+ if (walletToAutoSelect ) {
213213 walletToAutoSelect = null
214214
215215 if (autoSelect .disableModals ) {
360360
361361<svelte:window bind:innerWidth ={windowWidth } />
362362
363- {#if ! autoSelect || ( autoSelect && ! autoSelect .disableModals ) }
363+ {#if ! autoSelect .disableModals }
364364 <Modal {close }>
365365 <div class =" container relative flex" >
366366 {#if windowWidth >= 809 }
396396 {connectingErrorMessage }
397397 />
398398 </div >
399- {:else if ! autoSelect }
399+ {:else }
400400 <InstallWallet />
401401 {/if }
402402 {/if }
You can’t perform that action at this time.
0 commit comments