Remove empty unlock display (#5095)
This commit is contained in:
parent
64317cf14a
commit
255936c9ba
@ -370,7 +370,7 @@ function createBalanceItems (formatIndex: number, lookup: Record<string, string>
|
||||
} else if (votingOf && votingOf.isDirect) {
|
||||
const { prior: [unlockAt, balance] } = votingOf.asDirect;
|
||||
|
||||
allItems.push(
|
||||
balance.gt(BN_ZERO) && unlockAt.gt(BN_ZERO) && allItems.push(
|
||||
<React.Fragment key={8}>
|
||||
<Label label={t<string>('democracy')} />
|
||||
<div className='result'>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user