There was an error while loading. Please reload this page.
1 parent 2f049f7 commit 27bb5dbCopy full SHA for 27bb5db
src/components/Request.js
@@ -86,7 +86,7 @@ class Request extends React.Component {
86
if (!this._mounted) {
87
return
88
}
89
- if (!_axios.isCancel(err)) {
+ if (!axios.isCancel(err)) {
90
this.setState({ isLoading: false, response: err.response, error: err })
91
if (typeof this.props.onError === 'function') {
92
this.props.onError(err)
0 commit comments