Skip to content

Commit

Permalink
ens display fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmi-278 committed Aug 14, 2024
1 parent 9029421 commit 77f893f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions daostar-website/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

.env
4 changes: 3 additions & 1 deletion daostar-website/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ function getLibrary(provider) {
return new Web3Provider(provider);
}

const theGraphApiKey = process.env.REACT_APP_THEGRAPH_API_KEY;


const client = new ApolloClient({
link: ApolloLink.from([
Expand All @@ -40,7 +42,7 @@ const client = new ApolloClient({
arbitrum: "https://api.studio.thegraph.com/query/74263/daostar-arbitrum-one/version/latest",
easOptimismSepolia:"https://optimism-sepolia.easscan.org/graphql",
easOptimism:"https://optimism.easscan.org/graphql",
ensTextRecords: "https://api.thegraph.com/subgraphs/name/ensdomains/ens"
ensTextRecords: `https://gateway.thegraph.com/api/${theGraphApiKey}/subgraphs/id/5XqPmWe6gjyrJtFn9cLy237i4cWw2j9HcUJEXsP5qGtH`
},
//defaultEndpoint: 'https://api.thegraph.com/subgraphs/name/ipatka/daostar',
httpSuffix: "",
Expand Down

0 comments on commit 77f893f

Please sign in to comment.