From 22d2ed561f063466fcee1c506f5eea27a8e995cd Mon Sep 17 00:00:00 2001 From: mstfash Date: Mon, 15 Feb 2021 15:00:23 +0200 Subject: [PATCH] fix red rate --- src/components/SafeStats.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/SafeStats.tsx b/src/components/SafeStats.tsx index 59654aa3..e93b9c4b 100644 --- a/src/components/SafeStats.tsx +++ b/src/components/SafeStats.tsx @@ -82,9 +82,10 @@ const SafeStats = () => { {`${ - Number(currentRedemptionRate) > 0.001 - ? currentRedemptionRate - : '< 0.001' + Number(currentRedemptionRate) > 0 && + Number(currentRedemptionRate) < 0.001 + ? '< 0.001' + : currentRedemptionRate }%`}