aboutsummaryrefslogtreecommitdiff
path: root/src/containers/PollCreation/PollCreation.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-08-13 21:36:51 +0300
committereug-vs <eug-vs@keemail.me>2020-08-13 21:36:51 +0300
commit02c346c65f266c1ffc108a27795c4aee9bb7616b (patch)
tree1803ffc3e735859a550f8e4d16a7d0e576f742ec /src/containers/PollCreation/PollCreation.tsx
parent625ae3280bdf83b66a66873344acad4103d30006 (diff)
downloadwhich-ui-02c346c65f266c1ffc108a27795c4aee9bb7616b.tar.gz
fix: resolve eslint errors
Diffstat (limited to 'src/containers/PollCreation/PollCreation.tsx')
-rw-r--r--src/containers/PollCreation/PollCreation.tsx2
1 files changed, 1 insertions, 1 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'