Replies: 1 comment 2 replies
-
I think I know where the issue might be happening but I have no clue why. I wasn't telling you the whole picture on how the
That
Not sure if I'm missing something but passing that mutation function as the |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hello everyone!
I'm doing my first steps on this awesome tool and I'm seeing a weird behavior that I'm not able to figure out the root cause.
I have the following
useArchiveAsset
hook which basically does just an axios post and when success it invalidates a query already fetched:As you can see in the following screenshot captured from the logs:
The status is first shown as
idle
and theonSuccess
log is there (meaning that the POST is done and it's completed) but the status is not changing tosuccess
.There isn't much science on how this hook is used:
I wanted to understand why the status is not being changed to 'success' even when the onSuccess callback is being called.
Thanks,
Eric.
Beta Was this translation helpful? Give feedback.
All reactions