Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: clean up

liyasthomas5f0800760f6e
diff --git a/packages/hoppscotch-app/components/teams/Invite.vue b/packages/hoppscotch-app/components/teams/Invite.vue
index bfb20ccf6..cb3898e78 100644
--- a/packages/hoppscotch-app/components/teams/Invite.vue
+++ b/packages/hoppscotch-app/components/teams/Invite.vue
@@ -460,13 +460,6 @@ watch(
}
)
-watch(
- () => pendingInvites,
- () => {
- console.log(pendingInvites)
- }
-)
-
const removeInvitee = async (id: string) => {
const result = await revokeTeamInvitation(id)()
if (E.isLeft(result)) {
diff --git a/packages/hoppscotch-app/components/teams/index.vue b/packages/hoppscotch-app/components/teams/index.vue
index b58d7c560..120ade675 100644
--- a/packages/hoppscotch-app/components/teams/index.vue
+++ b/packages/hoppscotch-app/components/teams/index.vue
@@ -88,7 +88,7 @@
</template>
<script setup lang="ts">
-import { ref, watchEffect } from "@nuxtjs/composition-api"
+import { ref } from "@nuxtjs/composition-api"
import * as E from "fp-ts/Either"
import { useGQLQuery } from "~/helpers/backend/GQLClient"
import {
@@ -117,10 +117,6 @@ const myTeams = useGQLQuery<
pollDuration: 5000,
})
-watchEffect(() => {
- console.log(myTeams)
-})
-
const displayModalAdd = (shouldDisplay: boolean) => {
showModalAdd.value = shouldDisplay
}
diff --git a/packages/hoppscotch-app/helpers/backend/GQLClient.ts b/packages/hoppscotch-app/helpers/backend/GQLClient.ts
index 7387b4dce..0a72b87cf 100644
--- a/packages/hoppscotch-app/helpers/backend/GQLClient.ts
+++ b/packages/hoppscotch-app/helpers/backend/GQLClient.ts
@@ -240,15 +240,12 @@ export const useGQLQuery = <DocType, DocVarType, DocErrorType extends string>(
isStale.value = false
const invalidateStops = args.updateSubs!.map((sub) => {
- console.log("create sub")
-
return wonkaPipe(
client.value.executeSubscription(sub),
onEnd(() => {
if (source.value) execute()
}),
subscribe(() => {
- console.log("invalidate!")
return execute()
})
).unsubscribe
@@ -260,7 +257,6 @@ export const useGQLQuery = <DocType, DocVarType, DocErrorType extends string>(
onEnd(() => {
loading.value = false
isStale.value = false
- console.log("end")
}),
subscribe((res) => {
if (res.operation.key === request.value.key) {
@@ -323,10 +319,6 @@ export const useGQLQuery = <DocType, DocVarType, DocErrorType extends string>(
execute,
})
- watchEffect(() => {
- console.log(JSON.stringify(response))
- })
-
return response
}