fix export/import update.js

This commit is contained in:
Eric Burel 2018-09-26 09:56:21 +02:00
parent e63137a943
commit a50fc3ddb3
3 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ import { onError } from 'apollo-link-error';
import { ApolloLink } from 'apollo-link';
import WatchedMutationLink from 'apollo-link-watched-mutation';
import { MeteorAccountsLink } from 'meteor/apollo';
import { WatchedMutations } from '../modules/updates';
import { WatchedMutations } from './updates';
const cache = new InMemoryCache();
@ -28,9 +28,9 @@ const meteorAccountsLink = new MeteorAccountsLink();
export const apolloClient = new ApolloClient({
link: ApolloLink.from([
watchedMutationLink,
errorLink,
meteorAccountsLink,
watchedMutationLink,
errorLink,
meteorAccountsLink,
httpLink
]),
cache,

View file

@ -4,7 +4,7 @@
* @see https://github.com/haytko/apollo-link-watched-mutation
*/
import WatchedMutationLink from 'apollo-link-watched-mutation';
import { WatchedMutations } from '../../modules/updates';
import { WatchedMutations } from '../updates';
import cache from '../updates'
const watchedMutationLink = new WatchedMutationLink(cache, WatchedMutations);

View file

@ -32,5 +32,5 @@ export * from './intl.js';
export * from './detect_locale.js';
export * from './graphql_templates.js';
export * from './validation.js';
export * from './updates.js';
export * from './apollo-client/updates.js';
// export * from './resolvers.js';