import { cache, createApolloClient, consoleLink, errorLink, httpLink, ApolloLink, } from '@skava/create-apollo-client' import { stateLink } from './apolloState' const link = ApolloLink.from([consoleLink, errorLink, stateLink, httpLink]) const client = createApolloClient({ link }) export { cache, client }