From f38cf8ecff200cf9b0fb4764fc167158f13ac1e7 Mon Sep 17 00:00:00 2001 From: tuliomir Date: Tue, 20 Aug 2024 13:43:25 -0300 Subject: [PATCH] refactor: removes unused argument --- src/api/customAxiosInstance.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/customAxiosInstance.js b/src/api/customAxiosInstance.js index 15e72a8c..0793e5a7 100644 --- a/src/api/customAxiosInstance.js +++ b/src/api/customAxiosInstance.js @@ -17,9 +17,8 @@ import hathorLib from '@hathor/wallet-lib'; * Create an axios instance to be used when sending requests * * @param {callback} resolve Callback to be stored and used in case of a retry after a fail - * @param {number} [_timeout] Timeout in milliseconds for the request */ -const createRequestInstance = (resolve, _timeout) => { +const createRequestInstance = resolve => { // Will override lib axios instance increasing the default request timeout const instance = hathorLib.axios.defaultCreateRequestInstance(resolve, 30000); return instance;