s/Chilled/Renomination required/ (#3375)

* s/Chillded/Renomination required/

* Keep active/inactive
This commit is contained in:
Jaco Greeff 2020-08-08 12:04:47 +02:00 committed by GitHub
parent 19ebdf84a9
commit e3f4b4c6df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -30,9 +30,9 @@ function ListNominees ({ nominating, stashId }: Props): React.ReactElement<Props
))}
</Expander>
)}
{nomsChilled && nomsChilled.length !== 0 && (
<Expander summary={t<string>('Chilled nominations ({{count}})', { replace: { count: nomsChilled.length } })}>
{nomsChilled.map((nomineeId, index): React.ReactNode => (
{nomsInactive && nomsInactive.length !== 0 && (
<Expander summary={t<string>('Inactive nominations ({{count}})', { replace: { count: nomsInactive.length } })}>
{nomsInactive.map((nomineeId, index): React.ReactNode => (
<AddressMini
key={index}
value={nomineeId}
@ -41,9 +41,9 @@ function ListNominees ({ nominating, stashId }: Props): React.ReactElement<Props
))}
</Expander>
)}
{nomsInactive && nomsInactive.length !== 0 && (
<Expander summary={t<string>('Inactive nominations ({{count}})', { replace: { count: nomsInactive.length } })}>
{nomsInactive.map((nomineeId, index): React.ReactNode => (
{nomsChilled && nomsChilled.length !== 0 && (
<Expander summary={t<string>('Renomination required ({{count}})', { replace: { count: nomsChilled.length } })}>
{nomsChilled.map((nomineeId, index): React.ReactNode => (
<AddressMini
key={index}
value={nomineeId}

View File

@ -55,7 +55,7 @@ function NominatedBy ({ nominators, slashingSpans }: Props): React.ReactElement<
</Expander>
)}
{chilled.length !== 0 && (
<Expander summary={t<string>('Chilled ({{count}})', { replace: { count: formatNumber(chilled.length) } })}>
<Expander summary={t<string>('Renomination required ({{count}})', { replace: { count: formatNumber(chilled.length) } })}>
{chilled.map((who): React.ReactNode =>
<AddressMini
key={who}