From 24f8f5b018f0306feaa50bb387868199265accdf Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Wed, 19 Jan 2022 16:12:03 -0500 Subject: [PATCH] [E4E-87]: Remove console.logs --- lib/useRestQuery/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/useRestQuery/index.ts b/lib/useRestQuery/index.ts index f9e1135..e06d97f 100644 --- a/lib/useRestQuery/index.ts +++ b/lib/useRestQuery/index.ts @@ -25,9 +25,7 @@ function stripOptionals(gqlQuery: string, variables?: Record): const args = Array.from(gqlQuery.matchAll(/{args.([^}]*)}/g)).map(m => m[1]); let renderedGql = gqlQuery; - console.log({ args, renderedGql }); args.forEach(arg => { - console.log({ arg, variables }); if (!variables || !(arg in variables) || variables[arg] === undefined) { // eslint-disable-next-line security/detect-non-literal-regexp renderedGql = renderedGql.replace(new RegExp(`${arg}={args.${arg}}`, 'g'), '');