Skip to content

Commit

Permalink
fix(localStorage): only save license key
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Jul 10, 2020
1 parent 87370d3 commit 6b2ea36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/vuex-persist.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ export default ({ store }) => {
key: 'premium',

reducer: (state) => ({
premium: { responseData: state.premium.responseData },
premium: {
gumroad: {
product: { license_key: state.premium.gumroad.product.license_key },
},
},
}),
}).plugin(store)
}

0 comments on commit 6b2ea36

Please sign in to comment.