Skip to content

Commit c760b5a

Browse files
committed
Merge in develop with new changes to default Show Empty Addresses to true
2 parents afa8a01 + 9a2de0a commit c760b5a

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

packages/common/src/elements/TableHeader.svelte

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
export let loadingAccounts: boolean
66
export let showEmptyAddresses: boolean
77
export let errorFromScan: string
8-
9-
const filterEmptyAccounts = () => {
10-
showEmptyAddresses = !showEmptyAddresses
11-
}
128
</script>
139

1410
<style>
@@ -176,7 +172,7 @@
176172
<input
177173
id="show-empty-addresses"
178174
type="checkbox"
179-
on:change={filterEmptyAccounts}
175+
bind:checked={showEmptyAddresses}
180176
class="checkbox-input"
181177
/>
182178
<label for="show-empty-addresses" class="ml2 cursor-pointer font-5"

packages/common/src/views/AccountSelect.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
let accountsListObject: AccountsList | undefined
2828
let accountSelected: Account | undefined
2929
let customDerivationPath = false
30-
let showEmptyAddresses = false
30+
let showEmptyAddresses = true
3131
let loadingAccounts = false
3232
let errorFromScan = ''
3333
@@ -86,7 +86,7 @@
8686
const resetModal = () => {
8787
accountSelected = undefined
8888
accountsListObject = undefined
89-
showEmptyAddresses = false
89+
showEmptyAddresses = true
9090
scanAccountOptions.derivationPath =
9191
(basePaths[0] && basePaths[0].value) || ''
9292
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"typescript": "^4.5.5"
4242
},
4343
"dependencies": {
44-
"@web3-onboard/common": "^2.0.7",
44+
"@web3-onboard/common": "^2.1.0-alpha.2",
4545
"bowser": "^2.11.0",
4646
"ethers": "5.5.3",
4747
"eventemitter3": "^4.0.7",

0 commit comments

Comments
 (0)