I'm having a problem with React RTK(redux toolkit) query Mutation

Hey Everyone !
I’m using redux toolkit with my react application. I have simple login page, which redirects me to the dashboard.
The login functionality is working fine with RTK query mutation, but I also want to return an object while submitting to login request.
I’ve searched a lot but couldn’t find any possible solution on RTK mutation with returning any value/object.

If anyone knows ! please let me know …

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.