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 64004f8 commit 65c9d8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function displayDuration(duration: Duration) {
}
return `${duration.nanos}ns`;
}
if (duration.secs > 60 * 60) {
if (duration.secs >= 60 * 60) {
return `${(duration.secs / 60 / 60).toFixed(0)}h${(
duration.secs / 60
).toFixed(0)}m`;
Expand Down

0 comments on commit 65c9d8d

Please sign in to comment.