File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 5
5
export let loadingAccounts: boolean
6
6
export let showEmptyAddresses: boolean
7
7
export let errorFromScan: string
8
-
9
- const filterEmptyAccounts = () => {
10
- showEmptyAddresses = ! showEmptyAddresses
11
- }
12
8
</script >
13
9
14
10
<style >
176
172
<input
177
173
id =" show-empty-addresses"
178
174
type =" checkbox"
179
- on:change ={ filterEmptyAccounts }
175
+ bind:checked ={ showEmptyAddresses }
180
176
class =" checkbox-input"
181
177
/>
182
178
<label for =" show-empty-addresses" class =" ml2 cursor-pointer font-5"
Original file line number Diff line number Diff line change 27
27
let accountsListObject: AccountsList | undefined
28
28
let accountSelected: Account | undefined
29
29
let customDerivationPath = false
30
- let showEmptyAddresses = false
30
+ let showEmptyAddresses = true
31
31
let loadingAccounts = false
32
32
let errorFromScan = ' '
33
33
86
86
const resetModal = () => {
87
87
accountSelected = undefined
88
88
accountsListObject = undefined
89
- showEmptyAddresses = false
89
+ showEmptyAddresses = true
90
90
scanAccountOptions .derivationPath =
91
91
(basePaths [0 ] && basePaths [0 ].value ) || ' '
92
92
}
Original file line number Diff line number Diff line change 41
41
"typescript" : " ^4.5.5"
42
42
},
43
43
"dependencies" : {
44
- "@web3-onboard/common" : " ^2.0.7 " ,
44
+ "@web3-onboard/common" : " ^2.1.0-alpha.2 " ,
45
45
"bowser" : " ^2.11.0" ,
46
46
"ethers" : " 5.5.3" ,
47
47
"eventemitter3" : " ^4.0.7" ,
You can’t perform that action at this time.
0 commit comments