mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-23 07:04:22 +00:00
Remove useAxios debug loggin
This commit is contained in:
parent
3a77d5a777
commit
33efdd3c44
1 changed files with 0 additions and 4 deletions
|
@ -10,8 +10,6 @@ export function useAxios<D>(config: AxiosRequestConfig<D> = {}, data?: FestaLogi
|
||||||
|
|
||||||
return useMemo(
|
return useMemo(
|
||||||
() => {
|
() => {
|
||||||
console.debug(config, login)
|
|
||||||
|
|
||||||
const ax = axios.create({
|
const ax = axios.create({
|
||||||
...config,
|
...config,
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -20,8 +18,6 @@ export function useAxios<D>(config: AxiosRequestConfig<D> = {}, data?: FestaLogi
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
console.debug(ax)
|
|
||||||
|
|
||||||
return ax
|
return ax
|
||||||
},
|
},
|
||||||
[config, login]
|
[config, login]
|
||||||
|
|
Loading…
Reference in a new issue