Skip to content

Commit

Permalink
Refactor method calling and it's arguments to ES6
Browse files Browse the repository at this point in the history
  • Loading branch information
betoharres committed Sep 19, 2016
1 parent bed6b3b commit 6ebf63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/handle-fetch-response.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function parseResponse (response, cb = function(){}) {
export function parseResponse (response, cb = () => {}) {
let json = response.json();
if (response.status >= 200 && response.status < 300) {
return json;
Expand Down

0 comments on commit 6ebf63d

Please sign in to comment.