import gql from 'graphql-tag'
import { GraphQLWrapper } from '@aragon/connect-thegraph'
query miniMeToken($id: String!, $address: String!) {
holders(where: { address: $address }) {
// Create the GraphQL wrapper using the specific Subgraph URL
const wrapper = new GraphQLWrapper(TOKEN_MANAGER_SUBGRAPH)
// Create the subscription and receive updates every time the data changes
const subscription = wrapper.subscribeToQuery(
// Handle each new result
const { miniMeToken } = results.data
// Stop receiving updates
subscription.unsubscribe()