useFetcher cannot infer type of data if data is an array of objects with data
key
#5607
Closed
1 task done
Labels
bug
Something isn't working
What version of Remix are you using?
1.13.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Expected Behavior
wrongFetcher.data should work as correctFetcher.
Actual Behavior
wrongFetcher isn't inferring the returned data correctly.
I'm almost certain that this change by @jacob-ebey introduced the bug in 1.11.0: https://github.com/remix-run/remix/pull/4920/files#diff-73d5f419b6a2e6f026b68dd66fcf6ac019072255943a18bf69fa94acc2451746R23
The text was updated successfully, but these errors were encountered: