aboutsummaryrefslogtreecommitdiff
path: root/src/containers/PollCreation
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/PollCreation')
-rw-r--r--src/containers/PollCreation/PollCreation.tsx2
-rw-r--r--src/containers/PollCreation/PollCreationImage.tsx2
2 files changed, 2 insertions, 2 deletions
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';