fix: Correct axios instance reference in response interceptor for error handling
This commit is contained in:
parent
69b08706aa
commit
e207cee460
@ -20,7 +20,7 @@ export const axiosInstance = (url: string | null | undefined) => {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
axios.interceptors.response.use(
|
instance.interceptors.response.use(
|
||||||
(response) => transferResponse(response),
|
(response) => transferResponse(response),
|
||||||
(error) => {
|
(error) => {
|
||||||
// 에러 처리 로직
|
// 에러 처리 로직
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user