From 02c346c65f266c1ffc108a27795c4aee9bb7616b Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 13 Aug 2020 21:36:51 +0300 Subject: fix: resolve eslint errors --- src/containers/PollCreation/PollCreation.tsx | 2 +- src/containers/PollCreation/PollCreationImage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/containers/PollCreation') diff --git a/src/containers/PollCreation/PollCreation.tsx b/src/containers/PollCreation/PollCreation.tsx index 34fc7c3..64ab7fd 100644 --- a/src/containers/PollCreation/PollCreation.tsx +++ b/src/containers/PollCreation/PollCreation.tsx @@ -62,7 +62,7 @@ const PollCreation: React.FC = () => { right: { url: rightUrl } }; - post('/polls/', { contents }).then(response => { + post('/polls/', { contents }).then(() => { updateFeed(); enqueueSnackbar('Your poll has been successfully created!', { variant: 'success' diff --git a/src/containers/PollCreation/PollCreationImage.tsx b/src/containers/PollCreation/PollCreationImage.tsx index d669d91..1200b11 100644 --- a/src/containers/PollCreation/PollCreationImage.tsx +++ b/src/containers/PollCreation/PollCreationImage.tsx @@ -3,7 +3,7 @@ import { makeStyles } from '@material-ui/core/styles'; import { CardActionArea, CardMedia, - Typography, + Typography } from '@material-ui/core'; import ClearIcon from '@material-ui/icons/CancelOutlined'; -- cgit v1.2.3