From 787e81e91415ec43331bd529d6922f4420d5195f Mon Sep 17 00:00:00 2001 From: JCNoguera Date: Thu, 7 Dec 2023 15:56:26 +0100 Subject: [PATCH] fix: remove filter to show from second validator --- .../components/AdvancedSettingsValidator.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/ManaCalculator/components/AdvancedSettingsValidator.tsx b/src/components/ManaCalculator/components/AdvancedSettingsValidator.tsx index d0d9026ce29..0d5fa2352f2 100644 --- a/src/components/ManaCalculator/components/AdvancedSettingsValidator.tsx +++ b/src/components/ManaCalculator/components/AdvancedSettingsValidator.tsx @@ -37,13 +37,14 @@ export function AdvancedSettingsValidator() {
- {state.validators - .filter(({ excluded }) => !excluded) - .map((validator, i) => ( -
- -
- ))} + {state.validators.map( + (validator, i) => + !validator.excluded && ( +
+ +
+ ), + )}