Skip to content

Commit

Permalink
Fix color
Browse files Browse the repository at this point in the history
  • Loading branch information
baptadn committed Dec 21, 2018
1 parent 4356493 commit c1b5a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
},

updateColor(state, color) {
return { ...state, color };
return { ...state, color: color.hex };
},

setLoading(state) {
Expand Down

0 comments on commit c1b5a10

Please sign in to comment.