We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3181aee commit 7203366Copy full SHA for 7203366
templates/react/add-on/tanstack-query/assets/src/routes/demo.tanstack-query.tsx.ejs
@@ -13,7 +13,7 @@ function TanStackQueryDemo() {
13
queryFn: () =>
14
fetch('https://swapi.dev/api/people')
15
.then((res) => res.json())
16
- .then((data) => data.results as { name: string }[]),
+ .then((d) => d.results as { name: string }[]),
17
initialData: [],
18
})
19
0 commit comments