Skip to content

Commit

Permalink
Merge pull request #671 from subquery/fix/field-name
Browse files Browse the repository at this point in the history
Fix/field name
  • Loading branch information
HuberTRoy authored Feb 27, 2024
2 parents 3de42e0 + c475878 commit 5a250cd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build:dev": "vite build --mode testnet",
"build:staging": "vite build --mode staging",
"build": "vite build",
"tsc": "tsc --skipLibCheck",
"prepare": "husky install",
"lint": "eslint src/**/*.{ts,tsx} --fix"
},
Expand All @@ -25,8 +26,8 @@
"@subql/contract-sdk": "1.0.0",
"@subql/network-clients": "1.1.0",
"@subql/network-config": "1.1.1",
"@subql/network-query": "1.1.0",
"@subql/react-hooks": "1.1.0",
"@subql/network-query": "1.1.1",
"@subql/react-hooks": "1.1.1",
"@web3-name-sdk/core": "^0.1.5",
"@web3-react/core": "^6.1.9",
"@web3-react/injected-connector": "^6.0.7",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useSortedIndexerDeployments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function useSortedIndexerDeployments(indexer: string): AsyncData<Array<Us
const projectId =
indexerDeployment?.__typename === 'IndexerDeployment'
? indexerDeployment.deployment?.project?.id
: indexerDeployment?.proejctId;
: indexerDeployment?.projectId;

return {
status: indexerDeployment?.__typename === 'IndexerAllocationSummary' ? undefined : indexerDeployment?.status,
Expand Down
17 changes: 12 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4661,6 +4661,13 @@
dependencies:
graphql "^16.5.0"

"@subql/[email protected]":
version "1.1.1"
resolved "https://registry.npmjs.org/@subql/network-query/-/network-query-1.1.1.tgz#004a9399a7e815e8924d29d8b27efec65a911e74"
integrity sha512-eMwSZ1d7vnlsRY4/QwKboQkircjJqNShTkB7ben4nAvBbJ5LhkMZzEUloG1/08zicdJSMM4pL/IGYTbSupsM2A==
dependencies:
graphql "^16.5.0"

"@subql/[email protected]":
version "0.2.0"
resolved "https://registry.npmjs.org/@subql/network-support/-/network-support-0.2.0.tgz#e131ff462dfe90953f86ed653e85ea4827a175da"
Expand All @@ -4672,15 +4679,15 @@
jwt-decode "^3.1.2"
lru-cache "^10.0.1"

"@subql/[email protected].0":
version "1.1.0"
resolved "https://registry.npmjs.org/@subql/react-hooks/-/react-hooks-1.1.0.tgz#e58cdf268f4930ecce559fff9cbd2fd49daf757e"
integrity sha512-sLsIlVx7XbGts9GRMKmjcGNsR7F42xoMkzgxSYlTZFwGQJNCf0AKG+Ja2wiNv7xeY2TpTxNGOGjE237xhYr6jg==
"@subql/[email protected].1":
version "1.1.1"
resolved "https://registry.npmjs.org/@subql/react-hooks/-/react-hooks-1.1.1.tgz#c3c43f67ff5605cae6e6061b421be0336c9a0390"
integrity sha512-1rdRAnBMEQGvFse6Sy2p4mIeAOfCffv4I5dHVPO6C844IUu91D919mPjGneepkPqlMrzsYSM+w9p9kNK/Z2Hyg==
dependencies:
"@graphql-tools/code-file-loader" "^7.3.6"
"@graphql-tools/graphql-tag-pluck" "^7.3.6"
"@graphql-tools/load" "^7.7.7"
"@subql/network-query" "1.1.0"
"@subql/network-query" "1.1.1"
ahooks "^3.7.8"
bignumber.js "^9.1.2"
class-transformer "^0.5.1"
Expand Down

0 comments on commit 5a250cd

Please sign in to comment.