diff --git a/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.js b/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.js index 5902c141..3db0c862 100644 --- a/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.js +++ b/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.js @@ -17,7 +17,8 @@ const Cashbox = ({ percent = 0, cashOut = false, className, - emptyPartClassName + emptyPartClassName, + labelClassName }) => { const classes = cashboxClasses({ percent, cashOut }) const threshold = 51 @@ -25,10 +26,14 @@ const Cashbox = ({ return (
- {percent <= threshold && {percent.toFixed(0)}%} + {percent <= threshold && ( + {percent.toFixed(0)}% + )}
- {percent > threshold && {percent.toFixed(0)}%} + {percent > threshold && ( + {percent.toFixed(0)}% + )}
) diff --git a/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js b/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js index d83a260f..23d5e1e6 100644 --- a/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js +++ b/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js @@ -77,7 +77,7 @@ const FiatBalance = ({