From 682cefe30986984a295ec92019bba59f4ea8658e Mon Sep 17 00:00:00 2001 From: Maxime Beauchamp Date: Tue, 12 Sep 2023 19:04:29 -0400 Subject: [PATCH] removed comments --- deploy-web/src/queries/useGrantsQuery.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/deploy-web/src/queries/useGrantsQuery.ts b/deploy-web/src/queries/useGrantsQuery.ts index 6f0d079d6..951f262af 100644 --- a/deploy-web/src/queries/useGrantsQuery.ts +++ b/deploy-web/src/queries/useGrantsQuery.ts @@ -48,11 +48,6 @@ async function getAllowancesIssued(apiEndpoint: string, address: string) { if (!address) return null; const response = await axios.get(ApiUrlService.allowancesIssued(apiEndpoint, address)); - // const filteredGrants = response.data.grants.filter( - // x => - // x.authorization["@type"] === "/akash.deployment.v1beta2.DepositDeploymentAuthorization" || - // x.authorization["@type"] === "/akash.deployment.v1beta3.DepositDeploymentAuthorization" - // ); return response.data.allowances; } @@ -67,11 +62,6 @@ async function getAllowancesGranted(apiEndpoint: string, address: string) { if (!address) return null; const response = await axios.get(ApiUrlService.allowancesGranted(apiEndpoint, address)); - // const filteredGrants = response.data.grants.filter( - // x => - // x.authorization["@type"] === "/akash.deployment.v1beta2.DepositDeploymentAuthorization" || - // x.authorization["@type"] === "/akash.deployment.v1beta3.DepositDeploymentAuthorization" - // ); return response.data.allowances; }