forked from cerc-io/cosmos-explorer
add to fix
This commit is contained in:
parent
50f76ec414
commit
c3cc70bd1f
@ -116,7 +116,7 @@ export function formatSeconds(value?: string) {
|
|||||||
return `${(duration / ( 24 * 60 * 60)).toFixed()} days`
|
return `${(duration / ( 24 * 60 * 60)).toFixed()} days`
|
||||||
}
|
}
|
||||||
if(duration > 60*60) {
|
if(duration > 60*60) {
|
||||||
return `${duration / (60 * 60).toFixed()} hours`
|
return `${(duration / (60 * 60)).toFixed()} hours`
|
||||||
}
|
}
|
||||||
if(duration > 60) {
|
if(duration > 60) {
|
||||||
return `${duration / 60} mins`
|
return `${duration / 60} mins`
|
||||||
|
Loading…
Reference in New Issue
Block a user