You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Jeekwar
changed the title
isSucces value turning true while status: "pending"
isSuccess value turning true while status: "pending"
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.
The text was updated successfully, but these errors were encountered: