How to use hooks in react-query global onError handler
Is there any way to use hook in onError handler since the queryClient is outside of a Component?
For example how i could open a Modal or a Notification component.
For example how i could open a Modal or a Notification component.
