0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs/framework
simon-lund f2ddae666f
docs: fix syntax error in example with loader and useSuspenseQuery (#1602)
This will fix the example with useSuspenseQuery for the Router loader. You cannot just write `const posts = useSuspenseQuery(...)` but have to resolve the data property as so `const  {data: {posts}} = useSuspenseQuery(...)`
History 2024-05-16 15:27:36 +02:00
..
react docs: fix syntax error in example with loader and useSuspenseQuery (#1602) 2024-05-16 15:27:36 +02:00