How to change the state of context from an axios interceptor?

前端 未结 0 1683
囚心锁ツ
囚心锁ツ 2021-01-19 10:47

I have an axios interceptor that checks for 403 responses in case the user is not authenticated. What I\'m looking for is to change the state of the user in context API from

相关标签:
回答
  • 消灭零回复
提交回复
热议问题