This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-console */ | |
import Cookies from 'js-cookie' | |
import { NhostClient } from '@nhost/nextjs' | |
import React from 'react' | |
import { ApolloProvider } from '@apollo/client' | |
import { TokenRefreshLink } from 'apollo-link-token-refresh' | |
import jwtDecode from 'jwt-decode' | |
import { createApolloClient } from './providers/nhost-apollo-provider' | |
const nhostClient = new NhostClient({ |