1
Fork 0
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:
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( 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]