Skip to content

Commit

Permalink
feat: add new poablock fields (#267)
Browse files Browse the repository at this point in the history
* feat: add new poablock fields
  • Loading branch information
r4mmer authored Jun 21, 2024
1 parent ae8d275 commit 72af0f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Root extends React.Component {
<Router>
<>
<Navigation />
{ this.props.apiLoadError ?
{ this.props.apiLoadError ?
<div className="content-wrapper">
<h3 className="text-danger">Error loading the explorer. Please reload the page to try again.</h3>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/components/tx/TxData.js
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,8 @@ class TxData extends React.Component {
<div><label>Time:</label> {dateFormatter.parseTimestamp(this.props.transaction.timestamp)}</div>
<div><label>Nonce:</label> {this.props.transaction.nonce}</div>
<div><label>Weight:</label> {helpers.roundFloat(this.props.transaction.weight)}</div>
{this.props.transaction.signer_id && <div><label>Signer ID:</label> {this.props.transaction.signer_id.toLowerCase()}</div>}
{this.props.transaction.signer && <div><label>Signer:</label> {helpers.getShortHash(this.props.transaction.signer.toLowerCase())}</div>}
{!hathorLib.transactionUtils.isBlock(this.props.transaction) && renderFirstBlockDiv()}
</div>
<div className="d-flex flex-column align-items-center important-div bordered-wrapper mt-3 mt-lg-0 w-100">
Expand Down

0 comments on commit 72af0f4

Please sign in to comment.