Hi guys!
I cant get graph from website - Subgraphs | Graph Explorer
But if i try take data from tutorial sandbox - https://48p1r2roz4.sse.codesandbox.io
All ok
What could be the problem ?
Thanks
Code there β
import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter, HashRouter } from 'react-router-dom';
// HraphQL.
import {
ApolloClient,
InMemoryCache,
ApolloProvider,
} from "@apollo/client";
const client = new ApolloClient({
uri: 'https://thegraph.com/explorer/subgraph/uniswap/uniswap-v2',
cache: new InMemoryCache(),
});
// -----------------------------------
import App from './App';
// -----------------------------------Redux
import { Provider } from 'react-redux';
import { store } from '~Redux/store';
// style
// -----------------------------------
ReactDOM.render(
<>
<ApolloProvider client={client}>
<HashRouter>
<Provider store={store}>
<App />
</Provider>
</HashRouter>
</ApolloProvider>
</>
,document.getElementById('AAVE')
);