Commit c5def66
refactor(react-query/useQueries): remove unreachable 'willFetch' branch in suspense promise collection (#10082)
* refactor(react-query/useQueries): remove unreachable 'willFetch' branch in suspense promise collection
* Refactor useQueries to remove unreachable code
Refactor the useQueries function to improve code clarity by removing an unreachable 'willFetch' branch in the suspense promise collection.
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>1 parent ed37a87 commit c5def66
File tree
2 files changed
+7
-7
lines changed- .changeset
- packages/react-query/src
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
294 | 293 | | |
295 | 294 | | |
296 | 295 | | |
297 | | - | |
| 296 | + | |
298 | 297 | | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
| 298 | + | |
304 | 299 | | |
305 | 300 | | |
306 | 301 | | |
| |||
0 commit comments