From 410bc25afb9f53f6a7d6d75fe42fd5173338b0a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Thu, 17 Jun 2021 18:01:36 +0100 Subject: [PATCH] fix: remove the function to get the values when editing balance alerts --- .../Notifications/sections/FiatBalanceAlerts.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js b/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js index b6f55165..bb49e187 100644 --- a/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js +++ b/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js @@ -42,9 +42,6 @@ const FiatBalance = ({ section, min = 0, max = 100, fieldWidth = 80 }) => { .nullable() }) - const getPercentage = fillingPercentage => - fillingPercentage ?? data?.fillingPercentageCassette1 - return ( { @@ -97,7 +97,10 @@ const FiatBalance = ({ section, min = 0, max = 100, fieldWidth = 80 }) => {