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
flat-fuchsiaOP•2y ago
Whenever I try to input false data it gets process and return an error as invalid login credentials
flat-fuchsiaOP•2y 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

rival-black•2y ago
we can't help with just a screenshot. a runnable reproduction woudl be best
flat-fuchsiaOP•2y 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