Remove empty unlock display (#5095)

This commit is contained in:
Jaco 2021-04-19 20:58:51 +03:00 committed by GitHub
parent 64317cf14a
commit 255936c9ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'>