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 80738c5 commit 3b9c07bCopy full SHA for 3b9c07b
docs/src/content/docs/package/async.md
@@ -829,7 +829,7 @@ const aResource = reatomResource(async (ctx) => {
829
}, 'aResource')
830
const bResource = reatomResource(async (ctx) => {
831
const a = await ctx.spy(aResource.promiseAtom)
832
- return await ctx.schedule(() => request(`/api/b/${b}`, ctx.controller))
+ return await ctx.schedule(() => request(`/api/b/${a}`, ctx.controller))
833
}, 'bResource')
834
```
835
0 commit comments