mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 10:11:31 +10:00
ignore axios ts error
This commit is contained in:
@ -19,6 +19,7 @@ const axios = _axios.create({ baseURL });
|
|||||||
axios.interceptors.request.use((config) => {
|
axios.interceptors.request.use((config) => {
|
||||||
const { accessToken } = store.getState().auth;
|
const { accessToken } = store.getState().auth;
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
config.headers = {
|
config.headers = {
|
||||||
...config.headers,
|
...config.headers,
|
||||||
Authorization: `Bearer ${accessToken}`,
|
Authorization: `Bearer ${accessToken}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user