From 33efdd3c4471143dabf53007c83c7d7ce6d5a37d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 3 Jun 2022 03:04:17 +0200 Subject: [PATCH] Remove useAxios debug loggin --- hooks/useAxios.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hooks/useAxios.ts b/hooks/useAxios.ts index 22b0088..80e362b 100644 --- a/hooks/useAxios.ts +++ b/hooks/useAxios.ts @@ -10,8 +10,6 @@ export function useAxios(config: AxiosRequestConfig = {}, data?: FestaLogi return useMemo( () => { - console.debug(config, login) - const ax = axios.create({ ...config, headers: { @@ -19,8 +17,6 @@ export function useAxios(config: AxiosRequestConfig = {}, data?: FestaLogi Authorization: login ? `Bearer ${login.token}` : false, }, }) - - console.debug(ax) return ax },