Skip to content

Commit fa87136

Browse files
committed
fix(neuron-wallet): fix the error comes with deleting all wallets
Remove the obliteration of wallets.json
1 parent 6b2f974 commit fa87136

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/neuron-wallet/src/services/wallets.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ export default class WalletService {
245245
if (currentID === id) {
246246
if (newWallets.length > 0) {
247247
this.setCurrent(newWallets[0].id)
248-
} else {
249-
this.listStore.clear()
250248
}
251249
}
252250

0 commit comments

Comments
 (0)