Skip to content

Commit

Permalink
Wallet - clear proposal data from local store
Browse files Browse the repository at this point in the history
  • Loading branch information
Codegnosis committed Nov 4, 2022
1 parent 9c97bf1 commit dce0b51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Wallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ export default {
txs: state => state.txs,
validators: state => state.validators,
delegations: state => state.delegations,
governance: state => state.governance,
}),
hdPathOptions() {
const hdPathOptions = []
Expand Down Expand Up @@ -418,6 +419,7 @@ export default {
await this.$store.dispatch("txs/clearTxs")
await this.$store.dispatch("validators/clearValidators")
await this.$store.dispatch("delegations/clearAll")
await this.$store.dispatch("governance/clearProposals")
this.isMnemonicSaved = false
this.walletPass = null
this.privateKey = null
Expand Down

0 comments on commit dce0b51

Please sign in to comment.