How to catch 401 error using fetch method of react-native

前端 未结 0 1773
难免孤独
难免孤独 2021-02-05 08:37

I have made a comman function for all post api calls and now i want to handle 401 error code and need to logout user from application But as useContext(AuthContext)

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