From 9bfe195253be7958796197c2305ed67ba4a283a0 Mon Sep 17 00:00:00 2001 From: nivedin Date: Mon, 4 Dec 2023 16:19:48 +0530 Subject: [PATCH] chore: use samrt-env for gql headers --- .../collections/graphql/Request.vue | 3 +- .../src/components/graphql/Headers.vue | 28 +++++-------------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/packages/hoppscotch-common/src/components/collections/graphql/Request.vue b/packages/hoppscotch-common/src/components/collections/graphql/Request.vue index 5790e7a77..aa2075030 100644 --- a/packages/hoppscotch-common/src/components/collections/graphql/Request.vue +++ b/packages/hoppscotch-common/src/components/collections/graphql/Request.vue @@ -137,8 +137,7 @@ import IconTrash2 from "~icons/lucide/trash-2" import { PropType, computed, ref } from "vue" import { useI18n } from "@composables/i18n" import { useToast } from "@composables/toast" -import { HoppGQLRequest, makeGQLRequest } from "@hoppscotch/data" -import { cloneDeep } from "lodash-es" +import { HoppGQLRequest } from "@hoppscotch/data" import { removeGraphqlRequest } from "~/newstore/collections" import { useService } from "dioc/vue" import { GQLTabService } from "~/services/tab/graphql" diff --git a/packages/hoppscotch-common/src/components/graphql/Headers.vue b/packages/hoppscotch-common/src/components/graphql/Headers.vue index d91d1f9d9..c532a9e3a 100644 --- a/packages/hoppscotch-common/src/components/graphql/Headers.vue +++ b/packages/hoppscotch-common/src/components/graphql/Headers.vue @@ -77,22 +77,11 @@ tabindex="-1" /> - -