T
TanStack2y ago
rival-black

useMutation stuck on isLoading set to true

When I try to use useMutation to login with supabase api my isLoading state is stuck to true like the mutationfn is not being called at all
4 Replies
rival-black
rival-blackOP2y ago
Whenever I try to input false data it gets process and return an error as invalid login credentials
rival-black
rival-blackOP2y ago
This is a sample it just stays in this state forever no error nothing… but if I input wrong details it somehow gets called and throw an error message from the supabase api
No description
harsh-harlequin
harsh-harlequin2y ago
we can't help with just a screenshot. a runnable reproduction woudl be best
rival-black
rival-blackOP2y ago
Okay I’m still building the project and I have not deployed it as of now it’s works yesterday it just started this issue this morning

Did you find this page helpful?