New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(helpers): optimize the logic of isAxiosError #3546
refactor(helpers): optimize the logic of isAxiosError #3546
Conversation
1. add the judgment of null
eb21346
to
11c1825
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 😄 I should use the isObject
function in the first place.
Nice! I just discovered this while writing tests for my codebase! Hope this will be merged soon! |
@jasonsaayman Could you take a look at this please? I just ran into an issue that this would fix (passing |
The forgotten PR 😭 |
No longer forgotten :) |
1. add the judgment of null Co-authored-by: Jay <jasonsaayman@gmail.com>
add the judgment of null