1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

Remove useAxios debug loggin

This commit is contained in:
Steffo 2022-06-03 03:04:17 +02:00
parent 3a77d5a777
commit 33efdd3c44
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -10,8 +10,6 @@ export function useAxios<D>(config: AxiosRequestConfig<D> = {}, data?: FestaLogi
return useMemo(
() => {
console.debug(config, login)
const ax = axios.create({
...config,
headers: {
@ -19,8 +17,6 @@ export function useAxios<D>(config: AxiosRequestConfig<D> = {}, data?: FestaLogi
Authorization: login ? `Bearer ${login.token}` : false,
},
})
console.debug(ax)
return ax
},