Skip to content

Commit

Permalink
fix: remove filter to show from second validator
Browse files Browse the repository at this point in the history
  • Loading branch information
VmMad committed Dec 7, 2023
1 parent b644826 commit 787e81e
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ export function AdvancedSettingsValidator() {
</div>
<div className='col col--1'></div>
</div>
{state.validators
.filter(({ excluded }) => !excluded)
.map((validator, i) => (
<div className='row row--centered' key={i}>
<ValidatorCard validator={validator} id={i} />
</div>
))}
{state.validators.map(
(validator, i) =>
!validator.excluded && (
<div className='row row--centered' key={i}>
<ValidatorCard validator={validator} id={i} />
</div>
),
)}
</div>
<button
className='button button--block mana-calculator__button '
Expand Down

0 comments on commit 787e81e

Please sign in to comment.