Skip to content

Commit

Permalink
fix(aeternity): actually reset state on disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
CedrikNikita authored and kenodressel committed Mar 23, 2022
1 parent f75a98a commit 1406cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/aeternity.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default {
...options,
name: 'Superhero',
onDisconnect() {
commit('resetState');
commit('resetState', null, { root: true });
},
async onAddressChange(accounts) {
const address = Object.keys(accounts.current)[0];
Expand Down

0 comments on commit 1406cb6

Please sign in to comment.