forked from cerc-io/cosmos-explorer
return 0 if no change
This commit is contained in:
parent
3aec1c5a6e
commit
f7f4a0fb5a
@ -91,7 +91,7 @@ const change24 = (entry: { consensus_pubkey: Key; tokens: string }) => {
|
|||||||
|
|
||||||
const latestValue = latest.value[txt];
|
const latestValue = latest.value[txt];
|
||||||
if (!latestValue) {
|
if (!latestValue) {
|
||||||
return;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const displayTokens = format.tokenAmountNumber({
|
const displayTokens = format.tokenAmountNumber({
|
||||||
|
Loading…
Reference in New Issue
Block a user