feat: handle chain id in subgraph api (#1938)
* build dynamic subgraph url based on chain id * reset api state (query cache) on chain id change * removed dependency on rtk-query/graphql * add error message
Showing
... | @@ -19,7 +19,6 @@ | ... | @@ -19,7 +19,6 @@ |
"@reach/portal": "^0.10.3", | "@reach/portal": "^0.10.3", | ||
"@react-hook/window-scroll": "^1.3.0", | "@react-hook/window-scroll": "^1.3.0", | ||
"@reduxjs/toolkit": "^1.6.0", | "@reduxjs/toolkit": "^1.6.0", | ||
"@rtk-query/graphql-request-base-query": "^1.0.3", | |||
"@typechain/ethers-v5": "^7.0.0", | "@typechain/ethers-v5": "^7.0.0", | ||
"@types/jest": "^25.2.1", | "@types/jest": "^25.2.1", | ||
"@types/lingui__core": "^2.7.1", | "@types/lingui__core": "^2.7.1", | ||
... | ... |
Please register or sign in to comment