diff --git a/contracts/src/bridge/frontend/api/general.ts b/contracts/src/bridge/frontend/api/general.ts index 63ff520e0c..0d64c59b8e 100644 --- a/contracts/src/bridge/frontend/api/general.ts +++ b/contracts/src/bridge/frontend/api/general.ts @@ -15,7 +15,7 @@ export const fetchTestnetStatus = async (): Promise< export const fetchObscuroConfig = async (): Promise< ResponseDataInterface > => { - const res = await httpRequest>({ + return await httpRequest>({ method: "post", url: apiRoutes.getObscuroConfig, data: { @@ -25,6 +25,4 @@ export const fetchObscuroConfig = async (): Promise< id: 1, }, }); - console.log("🚀 ~ res:", res); - return res; }; diff --git a/contracts/src/bridge/frontend/src/services/useGeneralService.ts b/contracts/src/bridge/frontend/src/services/useGeneralService.ts index d549b44cf7..1a6be2cf23 100644 --- a/contracts/src/bridge/frontend/src/services/useGeneralService.ts +++ b/contracts/src/bridge/frontend/src/services/useGeneralService.ts @@ -11,7 +11,7 @@ export const useGeneralService = () => { const { data: obscuroConfig, isLoading: isObscuroConfigLoading } = useQuery({ queryKey: ["obscuroConfig"], queryFn: () => fetchObscuroConfig(), - refetchInterval: 10000, + // refetchInterval: 10000, // TODO: confirm if this is needed }); return {