Skip to content

Commit

Permalink
Merge pull request #452 from sudoblockio/blockheight-missing
Browse files Browse the repository at this point in the history
fix: blockheight fix commit #451
  • Loading branch information
robcxyz authored May 15, 2024
2 parents f933501 + e884176 commit 230a57b
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions src/components/shared/AddrContractsBalRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,32 +200,34 @@ function AddContractsBal(props) {
<em>ICX</em>
</span>
</p>

<div className="unstaking-list">
{unstakeList && unstakeList.length !== 0
? unstakeList.map((dataList) => {
return (
<p>
<span className="unstaking-item">
<em>
Target Block Height{' '}
{convertNumberToText(
IconConverter.toNumber(
dataList.unstakeBlockHeight
)
)}
</em>
<span className="balance">
{convertNumberToText(
convertLoopToIcxDecimal(dataList.unstake)
)}
</span>
<em>ICX</em>
</span>
</p>
)
})
return (
<p>
<span className="unstaking-item">
<em>
Target Block Height{' '}
{convertNumberToText(
IconConverter.toNumber(
dataList.unstakeBlockHeight
)
)}
</em>
<span className="balance">
{convertNumberToText(
convertLoopToIcxDecimal(dataList.unstake)
)}
</span>
<em>ICX</em>
</span>
</p>
)
})
: ''}
</div>

<p>
<span>Voted</span>
<span>
Expand Down

0 comments on commit 230a57b

Please sign in to comment.