diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-07-05 13:58:08 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-07-05 13:58:08 +0300 |
commit | 35a932bea0edc897e6e50ce6f727a8d5d3d0d492 (patch) | |
tree | 96f882cabecc449c87824c2b1f7072e8cee09d41 /src/pages/HomePage/HomePage.tsx | |
parent | 9f1ca7dbfea7cb7d6a04097168fbf988b89b40b7 (diff) | |
download | which-ui-35a932bea0edc897e6e50ce6f727a8d5d3d0d492.tar.gz |
fix: clear eslint errors
Diffstat (limited to 'src/pages/HomePage/HomePage.tsx')
-rw-r--r-- | src/pages/HomePage/HomePage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/HomePage/HomePage.tsx b/src/pages/HomePage/HomePage.tsx index 51553c2..a6c54b0 100644 --- a/src/pages/HomePage/HomePage.tsx +++ b/src/pages/HomePage/HomePage.tsx @@ -116,10 +116,10 @@ const HomePage: React.FC = () => { <img src={`${process.env.PUBLIC_URL}/which-logo-512.png`} alt="logo" className={classes.logo} /> </Grid> <Grid item> - {rating!==0 && <Rating value={rating} readOnly size="large" />} + {rating !== 0 && <Rating value={rating} readOnly size="large" />} </Grid> <Grid item> - {rating!==0 && ( + {rating !== 0 && ( <Typography variant="h5" className={classes.score}> User score: {rating.toFixed(1)} </Typography> |