react_jwt_auth
react_jwt_auth copied to clipboard
useAxiosPrivate.js
Hello, I'm having some issue with useAxiosPrivate, it seems refresh is not being called from useEffect.
When calling it via anonymous function via button it's working fine.
@xCodeZero, Leave a code snippet to better represent your question and suggest a possible fix.