From d309f375af53dbb3415e2f892dc85e495ea0cf4c Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Fri, 14 Aug 2020 16:52:38 +0300
Subject: feat: use Image on landing page

---
 src/containers/Home/Home.tsx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'src/containers/Home/Home.tsx')

diff --git a/src/containers/Home/Home.tsx b/src/containers/Home/Home.tsx
index c0ca00e..072e2fa 100644
--- a/src/containers/Home/Home.tsx
+++ b/src/containers/Home/Home.tsx
@@ -13,10 +13,11 @@ import TrendingUpIcon from '@material-ui/icons/TrendingUp';
 import { Rating } from '@material-ui/lab';
 import { Feedback } from 'which-types';
 
-import { useAuth } from '../../hooks/useAuth';
-import { useFeedback } from '../../hooks/APIClient';
 import ReviewCard from '../../components/ReviewCard/ReviewCard';
+import Image from '../../components/Image/Image';
 import ReviewForm from './ReviewForm';
+import { useAuth } from '../../hooks/useAuth';
+import { useFeedback } from '../../hooks/APIClient';
 
 const useStyles = makeStyles(theme => ({
   root: {
@@ -109,7 +110,7 @@ const Home: React.FC = () => {
         <Grid item xs={12} md={4}>
           <Grid container direction="column" spacing={1} alignItems="center">
             <Grid item>
-              <img src={`${process.env.PUBLIC_URL}/which-logo-512.png`} alt="logo" className={classes.logo} />
+              <Image 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" />}
-- 
cgit v1.2.3

