useMutation's `isPending` stays on `undefined` after calling mutate
so I have a custom useMutation hook
but whenever this gets called the
isPending
always stays on undefined
for some reason, even tho the mutation does get executed.5 Replies
extended-salmonOP•2y ago
seems this is the case with all mutations btw
extended-salmonOP•2y ago

extended-salmonOP•2y ago
tried 5.22.2, 5.20, 5.15, all not working
extended-salmonOP•2y ago
hmm so pending is undefined but status is 'loading'? 👀 shouldnt that be 'pending'?

noble-gold•2y ago
there is no status loading in v5