How to make sure the axios request is using the latest token from the redux store?

前端 未结 0 847
一个人的身影
一个人的身影 2021-01-06 20:40

I have an accessToken in my redux store. I am creating a axios client like this:

import axios from \'axios\';
import store from \'../redux/store\';

const api         


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