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: add default return when invalidation is skipped #1938

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

finnar-bin
Copy link
Contributor

Closes #1931

RTK query encounters an error when no array is returned from invalidatesTag

@finnar-bin finnar-bin requested a review from agalin920 March 20, 2023 00:57
@finnar-bin finnar-bin self-assigned this Mar 20, 2023
@shrunyan shrunyan merged commit 73d7689 into master Mar 20, 2023
@shrunyan shrunyan deleted the fix/1931-rtk-query-invalidate-tag-error branch March 20, 2023 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read properties of undefined (reading 'map')
3 participants