Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jun 30, 2020
1 parent 6de2ccb commit 51a77e7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ const fetch = (
return reflect
? resolve({ isRejected: true, error })
: resolve({
url,
html: '',
mode: 'fetch',
headers: error.response ? error.response.headers : {},
statusCode: error.response ? error.response.statusCode : undefined
})
url,
html: '',
mode: 'fetch',
headers: error.response ? error.response.headers : {},
statusCode: error.response ? error.response.statusCode : undefined
})
}
})

Expand Down Expand Up @@ -110,11 +110,11 @@ const prerender = async (

return isFetchResRejected
? {
headers: data.headers || {},
html: '',
url,
mode: 'prerender'
}
headers: data.headers || {},
html: '',
url,
mode: 'prerender'
}
: data
}

Expand Down

0 comments on commit 51a77e7

Please sign in to comment.