Closed as not planned
Description
openedon May 7, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels