From d309f375af53dbb3415e2f892dc85e495ea0cf4c Mon Sep 17 00:00:00 2001 From: eug-vs 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') 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 = () => { - logo + logo {rating !== 0 && } -- cgit v1.2.3