Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #95 from ElrondNetwork/Fix-typescript-error
Browse files Browse the repository at this point in the history
Fix compiling error
  • Loading branch information
danielailie authored Apr 29, 2021
2 parents 83ba5d3 + 39183ca commit 35c2c6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ const NodeRow = ({ blsKey: key }: { blsKey: NodeType; index: number }) => {
args: [BytesValue.fromHex(key.blsKey)],
});
if (key.status.key === 'unStaked') {
const untypedResponse = value.outputUntyped();
dapp.proxy
.queryContract(query)
.then(value => {
const untypedResponse = value.outputUntyped();
const remainingUnBondPeriod = decodeUnsignedNumber(untypedResponse[0]);
const newRemaining = remainingUnBondPeriod !== undefined ? remainingUnBondPeriod : 0;

Expand Down

0 comments on commit 35c2c6d

Please sign in to comment.