From 1a43f4d1de9692c629cb3620bdc8c88297872325 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 3 Jun 2022 04:11:00 +0200 Subject: [PATCH] Remove debug error --- hooks/useAxiosRequest.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/hooks/useAxiosRequest.ts b/hooks/useAxiosRequest.ts index 80c101c..f8cf9fa 100644 --- a/hooks/useAxiosRequest.ts +++ b/hooks/useAxiosRequest.ts @@ -52,7 +52,6 @@ export function useAxiosRequest(config: AxiosRequestConfig = {}, dispatch({ type: "start" }) try { - throw {potat: "t"} var response: AxiosResponse = await axios.request({ ...config, ...funcConfig }) } catch (error) {