diff --git a/src/index.tsx b/src/index.tsx index 1f74535..688677d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -9,8 +9,6 @@ import { } from '@apollo/client'; import { WebSocketLink } from '@apollo/client/link/ws'; import { getMainDefinition } from '@apollo/client/utilities'; -import { Elements } from '@stripe/react-stripe-js'; -import { loadStripe } from '@stripe/stripe-js'; import { setContext } from '@apollo/client/link/context'; import { ThemeProvider } from 'styled-components'; import { BrowserRouter } from 'react-router-dom'; @@ -19,8 +17,6 @@ import App from './App'; import GlobalStyles from './GlobalStyles'; import reportWebVitals from './reportWebVitals'; -const stripePromise = loadStripe('pk_test_TYooMQauvdEDq54NiTphI7jx'); - const httpLinkMain = createHttpLink({ uri: process.env.REACT_APP_GRAPHQL_API, }); @@ -71,16 +67,14 @@ export const clientSupport = new ApolloClient({ ReactDOM.render( - - - - - - - - - - + + + + + + + + , document.getElementById('root') );