Skip to content

Commit

Permalink
Update applications/tari_validator_node_web_ui/src/utils/helpers.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Stefcek <[email protected]>
  • Loading branch information
sdbondi and Cifko authored Jan 16, 2024
1 parent 73a7561 commit 64004f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function displayDuration(duration: Duration) {
if (duration.nanos > 1000) {
return `${(duration.nanos / 1000).toFixed(2)}µs`;
}
return `${duration.nanos / 1000}ns`;
return `${duration.nanos}ns`;
}
if (duration.secs > 60 * 60) {
return `${(duration.secs / 60 / 60).toFixed(0)}h${(
Expand Down

0 comments on commit 64004f8

Please sign in to comment.