haloplatform / vuex-web3-sync

:icecream: This syncs web3 to a vuex state via injected or instantiated web3.
12 stars 1 forks source link

fix($actions): fix unnecessary mutations to vuex #24

Closed bdeo closed 6 years ago

bdeo commented 6 years ago

Fixes unnecessary mutations in monitorWeb3 action. This PR checks current state before making a mutation to force vuex to only mutate values when they change.