From 28c277042787125c6a06a2335b848419f5fbbf33 Mon Sep 17 00:00:00 2001 From: JCNoguera Date: Wed, 22 Nov 2023 18:59:02 +0100 Subject: [PATCH] fix: sync correctly attracted new delegated stake change --- .../ManaCalculator/components/ValidatorSettings.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/ManaCalculator/components/ValidatorSettings.tsx b/src/components/ManaCalculator/components/ValidatorSettings.tsx index bf69089a2da..58ee59ab43d 100644 --- a/src/components/ManaCalculator/components/ValidatorSettings.tsx +++ b/src/components/ManaCalculator/components/ValidatorSettings.tsx @@ -52,7 +52,9 @@ export function ValidatorSettings() { 0, )} onChange={(e) => - handleAttractedNewDelegatedStakeChange(Number(e.target.value)) + handleAttractedNewDelegatedStakeChange( + toMicro(Number(e.target.value)), + ) } >