aboutsummaryrefslogtreecommitdiff
path: root/src/PollCard
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123.@mail.com>2020-06-07 15:26:20 +0300
committerilyayudovin <ilyayudovin123.@mail.com>2020-06-07 15:26:20 +0300
commit9f3d7a362a2d15d72afd9852e115fff39b960acb (patch)
tree23811fa587423010e453a10e2def1ef5fa527b49 /src/PollCard
parent4d3e2f0d19c1957feeebda7f476f4d56b377b86e (diff)
downloadwhich-ui-9f3d7a362a2d15d72afd9852e115fff39b960acb.tar.gz
fix:fixing imports and max-len eslint
Diffstat (limited to 'src/PollCard')
-rw-r--r--src/PollCard/PollCard.tsx20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/PollCard/PollCard.tsx b/src/PollCard/PollCard.tsx
index a157411..353c33c 100644
--- a/src/PollCard/PollCard.tsx
+++ b/src/PollCard/PollCard.tsx
@@ -1,11 +1,17 @@
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
-import Card from '@material-ui/core/Card';
-import CardActionArea from '@material-ui/core/CardActionArea';
-import CardMedia from '@material-ui/core/CardMedia';
-import Avatar from '@material-ui/core/Avatar';
-import CardHeader from '@material-ui/core/CardHeader';
-
+import {
+ Card,
+ CardActionArea,
+ CardMedia,
+ Avatar,
+ CardHeader
+} from '@material-ui/core/';
+// import Card from '@material-ui/core/Card';
+// import CardActionArea from '@material-ui/core/CardActionArea';
+// import CardMedia from '@material-ui/core/CardMedia';
+// import Avatar from '@material-ui/core/Avatar';
+// import CardHeader from '@material-ui/core/CardHeader';
const useStyles = makeStyles({
root: {
@@ -54,6 +60,7 @@ const PollCard: React.FC = () => {
<CardActionArea>
<CardMedia
className={classes.images}
+ // eslint-disable-next-line max-len
image="https://images.pexels.com/photos/556666/pexels-photo-556666.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500"
/>
<div className={classes.percentageLeft}>25%</div>
@@ -61,6 +68,7 @@ const PollCard: React.FC = () => {
<CardActionArea>
<CardMedia
className={classes.images}
+ // eslint-disable-next-line max-len
image="https://cdn.psychologytoday.com/sites/default/files/field_blog_entry_images/2019-06/pexels-photo-556667.jpeg"
/>
<div className={classes.percentageRight}>75%</div>