Skip to content

Commit

Permalink
fix(deal-ts-client): update deal-ts-client (#127)
Browse files Browse the repository at this point in the history
* fix(deal-ts-client): update deal-ts-client

* feat(deal-ts-client): update deal-ts-client

* fix(ProofsTable): fix submittedProofsPerCU
  • Loading branch information
MixailE authored Nov 27, 2024
1 parent 0be9ab2 commit 4928efb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@fluencelabs/deal-ts-clients": "0.23.1-release-please-530a463-6996-1.0",
"@fluencelabs/deal-ts-clients": "0.23.1",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-checkbox": "^1.0.4",
Expand Down
6 changes: 5 additions & 1 deletion src/pages/capacity/ProofsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,11 @@ const ProofRow: React.FC<ProofRow> = ({ proof, currentEpoch }) => {
</Cell>
{/* Average proofs per CU */}
<Cell>
<Text size={12}>{proof.submittedProofsPerCU.toFixed(1)}</Text>
<Text size={12}>
{proof.submittedProofsPerCU
? proof.submittedProofsPerCU.toFixed(1)
: '-'}
</Text>
</Cell>
</Row>
</RowTrigger>
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -914,9 +914,9 @@ __metadata:
languageName: node
linkType: hard

"@fluencelabs/deal-ts-clients@npm:0.23.1-release-please-530a463-6996-1.0":
version: 0.23.1-release-please-530a463-6996-1.0
resolution: "@fluencelabs/deal-ts-clients@npm:0.23.1-release-please-530a463-6996-1.0"
"@fluencelabs/deal-ts-clients@npm:0.23.1":
version: 0.23.1
resolution: "@fluencelabs/deal-ts-clients@npm:0.23.1"
dependencies:
"@graphql-typed-document-node/core": "npm:^3.2.0"
debug: "npm:^4.3.4"
Expand All @@ -928,7 +928,7 @@ __metadata:
graphql-tag: "npm:^2.12.6"
ipfs-http-client: "npm:^60.0.1"
multiformats: "npm:^13.0.1"
checksum: 10c0/e5779b4357e778a719fe473015fc52059cc54e3e1bc1ee659b27ca212b59ab84345e98c567fa4edb405cdf109deec579de87954c98bd01abc3afa509e15879ab
checksum: 10c0/59eb53c1a12b18648c2ed6ef36474ec4b14597b42667e7272a1f942e22107596a1270d31ce06f5f136c5c270ceae98b106bc60ece505ebb07c01e9de024c349d
languageName: node
linkType: hard

Expand Down Expand Up @@ -6470,7 +6470,7 @@ __metadata:
"@emotion/babel-plugin": "npm:^11.11.0"
"@emotion/react": "npm:^11.11.1"
"@emotion/styled": "npm:^11.11.0"
"@fluencelabs/deal-ts-clients": "npm:0.23.1-release-please-530a463-6996-1.0"
"@fluencelabs/deal-ts-clients": "npm:0.23.1"
"@radix-ui/react-accordion": "npm:^1.1.2"
"@radix-ui/react-aspect-ratio": "npm:^1.0.3"
"@radix-ui/react-checkbox": "npm:^1.0.4"
Expand Down

0 comments on commit 4928efb

Please sign in to comment.