Skip to content

Commit

Permalink
fix(codacy): bad style in lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
frickjack committed Feb 8, 2018
1 parent 99301e9 commit 623696f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataModelGraph/ReduxDataModelGraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const getCounts = (typeList, project, dictionary) => {
};
}
},
(err) => { return { type: 'FETCH_ERROR', error: err }; },
err => ({ type: 'FETCH_ERROR', error: err }),
)
.then((msg) => { dispatch(msg); });
};
Expand Down

0 comments on commit 623696f

Please sign in to comment.