Skip to content

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

fix: memory leak issue on TeamInvite modal (#3440)

Anwarul Islamcabee0ecc833
diff --git a/packages/hoppscotch-common/src/composables/graphql.ts b/packages/hoppscotch-common/src/composables/graphql.ts
index a3cee3864..0e4f933c2 100644
--- a/packages/hoppscotch-common/src/composables/graphql.ts
+++ b/packages/hoppscotch-common/src/composables/graphql.ts
@@ -192,11 +192,12 @@ export const useGQLQuery = <
} else {
args.variables = updatedVars
}
+ nextTick(rerunQuery)
+ } else {
+ rerunQuery()
}
isPaused.value = false
-
- nextTick(rerunQuery)
}
const pause = () => {