Skip to content

Commit

Permalink
Remove unneeded await statement on fetch lib (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
markotom authored and shuding committed Dec 9, 2019
1 parent 203bd02 commit 1533fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/libs/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import fetch from 'isomorphic-unfetch'

export default async function (...args) {
const res = await fetch(...args)
return await res.json()
return res.json()
}

0 comments on commit 1533fb7

Please sign in to comment.