-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isSuccess value turning true while status: "pending" #4397
Comments
Jeekwar
changed the title
isSucces value turning true while status: "pending"
isSuccess value turning true while status: "pending"
May 7, 2024
If you provide a minimal repro or a replay I can take a look. |
i can't give the repo but if you mind maybe i can give the slice of code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why isSucces turning into true while status "pending"
I try to fetching a query using RTK method POST and I console the response like below:
useEffect(() => { console.log(responseCheckPromoCode.isError, responseCheckPromoCode.isSuccess, responseCheckPromoCode.status); } ,[responseCheckPromoCode]
after running the project responseCheckPromoCode rendered 3 times like below:
any answer and suggestions would be appreciated, Thanks.
The text was updated successfully, but these errors were encountered: