useActionState Response
Hello, I have this action that I use with useActionState. When the login is successful, I don't get the expected response that I set, but a weird “error” response. Does anyone have any idea what the problem is?
I have removed the auth.api.signInUsername as a test to see if at least the expected success response comes, which it does.
I have removed the auth.api.signInUsername as a test to see if at least the expected success response comes, which it does.
