import { GraphQLClient } from 'graphql-hooks';
import config from '../utils/config';
const client = new GraphQLClient({
    url: `${config.apiBase}/graphql`,
});
const getClient = (url) => new GraphQLClient({
    url: `${url || config.apiBase}/graphql`,
});
export { getClient, client };
//# sourceMappingURL=graphqlClient.js.map