From 9f1ca7dbfea7cb7d6a04097168fbf988b89b40b7 Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Sun, 5 Jul 2020 13:56:03 +0300 Subject: hide 0 feedback rates --- src/pages/HomePage/HomePage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pages/HomePage/HomePage.tsx b/src/pages/HomePage/HomePage.tsx index 5a33b42..51553c2 100644 --- a/src/pages/HomePage/HomePage.tsx +++ b/src/pages/HomePage/HomePage.tsx @@ -116,10 +116,10 @@ const HomePage: React.FC = () => { logo - {rating && } + {rating!==0 && } - {rating && ( + {rating!==0 && ( User score: {rating.toFixed(1)} -- cgit v1.2.3