Skip to content
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

fix: isLoading check for array responses #200

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

ErnoW
Copy link
Member

@ErnoW ErnoW commented Feb 9, 2022


name: "Pull request"
about: A new pull request

New Pull Request

Checklist

  • I am not disclosing a vulnerability.
  • My code is conform the code style
  • I have made corresponding changes to the documentation
  • I have updated Typescript definitions when needed

Issue Description

Related issue: #193

Solution Description

isLoading was checking for null AND empty array, which cannot happen. This should be an or expression.
Also split the check up for better readabiliy

@ErnoW ErnoW merged commit b0d8e7c into main Feb 9, 2022
@ErnoW ErnoW deleted the fix/isloading-check-for-arrays branch February 9, 2022 23:28
ErnoW pushed a commit that referenced this pull request Feb 9, 2022
## [1.3.1](v1.3.0...v1.3.1) (2022-02-09)

### Bug Fixes

* isLoading check for array responses ([#200](#200)) ([b0d8e7c](b0d8e7c))
@ErnoW
Copy link
Member Author

ErnoW commented Feb 9, 2022

🎉 This PR is included in version 1.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ErnoW ErnoW added the released label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant