Skip to content

Commit e16cbab

Browse files
committed
Refactor method calling to ES6
1 parent bed6b3b commit e16cbab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/utils/handle-fetch-response.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function parseResponse (response, cb = function(){}) {
1+
export function parseResponse (response, cb = () => {}) {
22
let json = response.json();
33
if (response.status >= 200 && response.status < 300) {
44
return json;

0 commit comments

Comments
 (0)