Skip to content

Commit

Permalink
fix import style
Browse files Browse the repository at this point in the history
  • Loading branch information
Chyroc-MD committed Feb 4, 2017
1 parent e00881c commit eb9bbee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sendRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created by Chyroc on 17/1/10.
*/

const fetch = require('isomorphic-fetch')
import fetch from 'isomorphic-fetch'

function sendRequest (method, url, body = null) {
return fetch(url, {method: method, body: body})
Expand Down

0 comments on commit eb9bbee

Please sign in to comment.