Replies: 1 comment
-
figured it out, needed to have the transform in it's own method const { data, error } = await useAsyncQuery<T>(
{
query,
variables: { id: moduleId}
},
{
transform: transformMethod
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm attempting to run a simple transform method after returning a query but it's not working. Is there anything specific I need to do to get it to work?
I'm trying something like this
Beta Was this translation helpful? Give feedback.
All reactions