Skip to content

Commit

Permalink
fixed build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish tewari authored and Ashish tewari committed Feb 28, 2020
1 parent 85042ca commit d42c12c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export default {
.then(posts => {
commit('SAVE_POSTS', posts.slice(0, 5))
})
.catch(error => {
console.log(error)
.catch(_error => {
commit('SET_ERROR', true)
commit('SET_STATUS_MESSAGE', 'Failed to fetch Posts')
})
Expand Down

0 comments on commit d42c12c

Please sign in to comment.