T
TanStack2y ago
wise-white

How to show an error message after rolling back and before the invalidateQuery is finished

I have a list of products that can be added to a wishlist and in my case I add 3 products at the same time I know there will be an error so I do rollback using invalidateQuery but I want to show the error message after the products are reflected not before that
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?